version 1.13, 2011/12/26 12:45:58 |
version 1.14, 2012/01/05 22:15:17 |
|
|
.Ex -std |
.Ex -std |
.Sh EXAMPLES |
.Sh EXAMPLES |
Search for |
Search for |
.Qq mdoc |
.Qq .cf |
as a substring and regular expression |
as a substring of manual names and descriptions: |
within each manual name and description: |
|
.Pp |
.Pp |
.Dl $ apropos mdoc |
.Dl $ apropos .cf |
.Dl $ apropos ~^mdoc$ |
|
.Pp |
.Pp |
Include matches for |
Include matches for |
.Qq roff |
.Qq .cnf |
and |
and |
.Qq man |
.Qq .conf |
for the regular expression case: |
as well: |
.Pp |
.Pp |
.Dl $ apropos ~^mdoc$ roff man |
.Dl $ apropos .cf .cnf .conf |
.Dl $ apropos ~^mdoc$ \-o roff \-o man |
|
.Pp |
.Pp |
Search for |
Search in names and descriptions using a regular expression: |
|
.Pp |
|
.Dl $ apropos '~set.?[ug]id' |
|
.Pp |
|
Search for manuals in the library category mentioning both the |
.Qq optind |
.Qq optind |
and |
and the |
.Qq optarg |
.Qq optarg |
as variable names in the library category: |
variables: |
.Pp |
.Pp |
.Dl $ apropos \-s 3 Va~^optind \-a Va~^optarg$ |
.Dl $ apropos \-s 3 Va=optind \-a Va=optarg |
|
.Pp |
|
Do exactly the same as calling |
|
.Xr whatis 1 |
|
with the argument |
|
.Qq ssh : |
|
.Pp |
|
.Dl $ apropos \-\- \-i 'Nm~[[:<:]]ssh[[:>:]]' |
.Sh SEE ALSO |
.Sh SEE ALSO |
.Xr man 1 , |
.Xr man 1 , |
.Xr re_format 7 , |
.Xr re_format 7 , |