version 1.7, 2011/11/29 01:07:30 |
version 1.8, 2011/11/29 22:30:56 |
|
|
.Li \&~ |
.Li \&~ |
evaluates a regular expression. |
evaluates a regular expression. |
.It Fl i Ar term |
.It Fl i Ar term |
Same as |
If |
.Ar term , |
|
but |
|
.Ar term |
.Ar term |
|
is a regular expression, it |
is evaluated case-insensitively. |
is evaluated case-insensitively. |
|
Has no effect on substring terms. |
.El |
.El |
.Pp |
.Pp |
By default, |
By default, |
|
|
.Xr mandocdb 8 |
.Xr mandocdb 8 |
databases in the default paths stipulated by |
databases in the default paths stipulated by |
.Xr man 1 , |
.Xr man 1 , |
parses terms as case-insensitive 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 |
.Pq the Li \&Nm No and Li \&Nd No macro keys . |
.Pq the Li \&Nm No and Li \&Nd No macro keys . |
|
|
Overridden by |
Overridden by |
.Fl M . |
.Fl M . |
.El |
.El |
.\" .Sh FILES |
|
.Sh EXIT STATUS |
.Sh EXIT STATUS |
.Ex -std |
.Ex -std |
.Sh EXAMPLES |
.Sh EXAMPLES |
Search for |
Search for |
.Qq mdoc |
.Qq mdoc |
within the manual name and description: |
as a substring and regular expression |
|
within each manual name and description: |
.Pp |
.Pp |
.Dl $ apropos mdoc |
.Dl $ apropos mdoc |
|
.Dl $ apropos ~^mdoc$ |
.Pp |
.Pp |
Two variants of searching for |
Include matches for |
.Qq mdoc , |
.Qq roff |
.Qq roff , |
and |
or |
|
.Qq man |
.Qq man |
within manual names and descriptions: |
for the regular expression case: |
.Pp |
.Pp |
.Dl $ apropos mdoc roff man |
.Dl $ apropos ~^mdoc$ roff man |
.Dl $ apropos mdoc \-o roff \-o man |
.Dl $ apropos ~^mdoc$ \-o roff \-o man |
.Pp |
.Pp |
Search for |
Search for |
.Qq optind |
.Qq optind |
|
|
.Qq optarg |
.Qq optarg |
as variable names in the library category: |
as variable names in the library category: |
.Pp |
.Pp |
.Dl $ apropos \-s 3 \(dqVa~^optind$\(dq -a \(dqVa~^optarg$\(dq |
.Dl $ apropos \-s 3 Va~^optind \-a Va~^optarg$ |
.Pp |
|
Search for all manuals referencing |
|
.Qq POSIX |
|
in any letter case: |
|
.Pp |
|
.Dl $ apropos \-\- \-i posix |
|
.Sh SEE ALSO |
.Sh SEE ALSO |
.Xr man 1 , |
.Xr man 1 , |
.Xr mandoc 1 , |
.Xr re_format 7 , |
.Xr re_format 7 |
.Xr mandocdb 8 |
.Sh AUTHORS |
.Sh AUTHORS |
The |
The |
.Nm |
.Nm |