BSD 4_3_Tahoe development
[unix-history] / usr / man / cat1 / apropos.0
APROPOS(1) UNIX Programmer's Manual APROPOS(1)
N\bNA\bAM\bME\bE
apropos - locate commands by keyword lookup
S\bSY\bYN\bNO\bOP\bPS\bSI\bIS\bS
a\bap\bpr\bro\bop\bpo\bos\bs [ -\b-M\bM _\bp_\ba_\bt_\bh ] keyword ...
D\bDE\bES\bSC\bCR\bRI\bIP\bPT\bTI\bIO\bON\bN
_\bA_\bp_\br_\bo_\bp_\bo_\bs shows which manual pages contain instances of any of
the given _\bk_\be_\by_\bw_\bo_\br_\bd(s) in their title line. Each word is con-
sidered separately and case of letters is ignored. Words
which are part of other words are considered; when looking
for compile, _\ba_\bp_\br_\bo_\bp_\bo_\bs will also find all instances of ``com-
piler''.
If the line output by _\ba_\bp_\br_\bo_\bp_\bo_\bs starts ``name(section) ...''
you can enter ``man section name'' to get its documentation.
Normally _\ba_\bp_\br_\bo_\bp_\bo_\bs checks in a standard location (/usr/man)
for its database ``whatis''. This can be changed by supply-
ing a _\bp_\ba_\bt_\bh (a la the Bourne shell) with the -\b-M\bM flag. This
search path must be a colon (``:'') separated list of direc-
tories which _\ba_\bp_\br_\bo_\bp_\bo_\bs will search for files named ``whatis''.
The path can also be set with the environmental variable
_\bM_\bA_\bN_\bP_\bA_\bT_\bH.
F\bFI\bIL\bLE\bES\bS
/usr/man/whatis data base
S\bSE\bEE\bE A\bAL\bLS\bSO\bO
man(1), whatis(1)
Printed 7/9/88 June 30, 1987 1