version 1.40, 2008/04/27 15:10:58 |
version 1.41, 2008/12/30 13:14:41 |
|
|
.Xr whatis 1 . |
.Xr whatis 1 . |
It looks up a given command and |
It looks up a given command and |
gives the header line from the manual page. |
gives the header line from the manual page. |
|
.Ar command |
|
is case insensitive. |
.It Fl h |
.It Fl h |
Display only the |
Display only the |
.Dq SYNOPSIS |
.Dq SYNOPSIS |
|
|
.It Fl S Ar subsection |
.It Fl S Ar subsection |
Restricts the directories that |
Restricts the directories that |
.Nm |
.Nm |
will search to those of a specific machine architecture. |
will search to those of a specific |
|
.Xr machine 1 |
|
architecture. |
|
.Ar subsection |
|
is case insensitive. |
|
.Pp |
By default manual pages for all architectures are installed. |
By default manual pages for all architectures are installed. |
Therefore this option can be used to view pages for one |
Therefore this option can be used to view pages for one |
architecture whilst using another. |
architecture whilst using another. |
.Pp |
.Pp |
Overrides the |
This option overrides the |
.Ev MACHINE |
.Ev MACHINE |
environment variable; |
environment variable. |
see also the |
|
.Sx ENVIRONMENT |
|
section below. |
|
.It Xo |
.It Xo |
.Op Fl s |
.Op Fl s |
.Ar section |
.Ar section |
|
|
or with the |
or with the |
.Fl S |
.Fl S |
option. |
option. |
|
.Ev MACHINE |
|
is case insensitive. |
.It Ev MANPAGER |
.It Ev MANPAGER |
Any non-null value of the environment variable |
Any non-null value of the environment variable |
.Ev MANPAGER |
.Ev MANPAGER |