Must distinguish between "ambiguous" and "unknown" commands.
[unix-history] / usr / src / usr.bin / apropos / apropos.1
CommitLineData
1bc32681 1.\" @(#)apropos.1 6.4 (Berkeley) %G%
d5781aef 2.\"
f0e164d4 3.TH APROPOS 1 ""
d5781aef
KM
4.AT 3
5.SH NAME
6apropos \- locate commands by keyword lookup
7.SH SYNOPSIS
8.B apropos
9keyword ...
10.SH DESCRIPTION
11.I Apropos
12shows which manual sections contain instances of any of the given
13keywords in their title.
14Each word is considered separately and case of letters is ignored.
79b1847e 15Words which are part of other words are considered; thus, when looking for
1bc32681 16compile, \fIapropos\fP will find all instances of `compiler' also.
d5781aef
KM
17Try
18.IP
19apropos password
20.PP
21and
22.IP
23apropos editor
24.PP
25If the line starts `name(section) ...' you can do
26`man section name' to get the documentation for it.
27Try `apropos format' and then `man 3s printf' to get the manual
28on the subroutine
29.I printf.
30.PP
31.I Apropos
32is actually just the
33.B \-k
34option to the
fba728cf 35.IR man (1)
d5781aef
KM
36command.
37.SH FILES
38.DT
8fd02ef7 39/usr/man/whatis data base
d5781aef
KM
40.SH "SEE ALSO"
41man(1), whatis(1), catman(8)
42.SH AUTHOR
43William Joy