version 1.4, 2011/11/18 07:02:19 |
version 1.5, 2011/11/20 15:43:14 |
|
|
.Os |
.Os |
.Sh NAME |
.Sh NAME |
.Nm apropos |
.Nm apropos |
.Nd search the manual page database |
.Nd search manual page databases |
.Sh SYNOPSIS |
.Sh SYNOPSIS |
.Nm |
.Nm |
|
.Op Fl m Ar manpath |
.Op Fl S Ar arch |
.Op Fl S Ar arch |
.Op Fl s Ar section |
.Op Fl s Ar section |
.Ar expression... |
.Ar expression... |
.Sh DESCRIPTION |
.Sh DESCRIPTION |
The |
The |
.Nm |
.Nm |
utility queries a manual page database generated by |
utility queries manual page databases generated by |
.Xr mandocdb 8 , |
.Xr mandocdb 8 , |
evaluating on |
evaluating on |
.Ar expression |
.Ar expression |
for each file in the database. |
for each file in each database. |
Its arguments are as follows: |
Its arguments are as follows: |
.Bl -tag -width Ds |
.Bl -tag -width Ds |
|
.It Fl m Ar manpath |
|
A colon-separated list of paths containing |
|
.Xr mandocdb 8 |
|
databases. |
|
Paths may be relative or absolute. |
.It Fl S Ar arch |
.It Fl S Ar arch |
Search only for a particular architecture. |
Search only for a particular architecture. |
.It Fl s Ar cat |
.It Fl s Ar cat |
Line 105 is evaluated case-insensitively. |
|
Line 111 is evaluated case-insensitively. |
|
.Pp |
.Pp |
By default, |
By default, |
.Nm |
.Nm |
|
searches for |
|
.Xr mandocdb 8 |
|
database in the current working directory and |
parses terms as case-sensitive regular expressions |
parses terms as case-sensitive regular expressions |
.Pq the Li \&~ operator |
.Pq the Li \&~ operator |
over manual names and descriptions |
over manual names and descriptions |