add -a flag
[unix-history] / usr / src / usr.bin / apropos / apropos.1
CommitLineData
3d55d843
KB
1.\" Copyright (c) 1980 Regents of the University of California.
2.\" All rights reserved. The Berkeley software License Agreement
3.\" specifies the terms and conditions for redistribution.
4.\"
5.\" @(#)apropos.1 6.5 (Berkeley) %G%
d5781aef 6.\"
f0e164d4 7.TH APROPOS 1 ""
d5781aef
KM
8.AT 3
9.SH NAME
10apropos \- locate commands by keyword lookup
11.SH SYNOPSIS
12.B apropos
3d55d843
KB
13[
14.B -M
15.I path
16]
d5781aef
KM
17keyword ...
18.SH DESCRIPTION
3d55d843
KB
19\fIApropos\fP shows which manual pages contain instances of any of the given
20\fIkeyword\fP(s) in their title line. Each word is considered separately
21and case of letters is ignored. Words which are part of other words are
22considered; when looking for compile, \fIapropos\fP will also find all
23instances of ``compiler''.
d5781aef 24.PP
3d55d843
KB
25If the line output by \fIapropos\fP starts ``name(section) ...'' you can
26enter ``man section name'' to get its documentation.
d5781aef 27.PP
3d55d843
KB
28Normally \fIapropos\fP checks in a standard location (/usr/man) for its
29database ``whatis''. This can be changed by supplying a \fIpath\fP (a
30la the Bourne shell) with the \fB-M\fP flag. This search path must be
31a colon (``:'') separated list of directories which \fIapropos\fP will
32search for files named ``whatis''. The path can also be set with the
33environmental variable \fIMANPATH\fP.
d5781aef
KM
34.SH FILES
35.DT
8fd02ef7 36/usr/man/whatis data base
d5781aef 37.SH "SEE ALSO"
3d55d843 38man(1), whatis(1)