MAKEWHATIS(8) | System Manager's Manual | MAKEWHATIS(8) |
makewhatis
—
create whatis database
makewhatis |
[-a ] [-i
column] [-n
name] [-o
file] [-v ]
[-L ] [directories ...] |
The makewhatis
utility collects the names
and short descriptions from all the unformatted man pages in the
directories and puts them into a file used by the
whatis(1) and
apropos(1) commands. Directories may
be separated by colons instead of spaces. If no
directories are specified, the contents of the
MANPATH
environment variable will be used, or if
that is not set, the default directory
/usr/share/man will be processed.
The options are as follows:
-a
-i
column-n
name-o
file-v
makewhatis
more verbose about what it is
doing.-L
LC_ALL
,
LC_CTYPE
, LANG
-L
option is used.MACHINE
MANPATH
MANPATH
environment variable is not set.The makewhatis
utility exits 0 on
success, and >0 if an error occurs.
The makewhatis
command appeared in
FreeBSD 2.1.
The makewhatis
program was originally
written in Perl and was contributed by Wolfram
Schneider. The current version of makewhatis
was rewritten in C by John Rochester.
May 12, 2002 | macOS 15.2 |