|| FreeBSD General Commands Manual
create whatis database
|| [ -a][ -i column][ -n name][ -o file][ -v][ -L][ directories ...]
utility collects the names and short descriptions from all the unformatted man pages in the
and puts them into a file used by the
commands. Directories may be separated by colons instead of spaces. If no
are specified, the contents of the
environment variable will be used, or if that is not set, the default directory
will be processed.
The options are as follows:
Appends to the output file(s) instead of replacing them. The output will be sorted with duplicate lines removed, but may have obsolete entries.
Indents the description by
column characters. The default value is 24.
name instead of
Outputs all lines to the
file instead of
makewhatis more verbose about what it is doing.
Process only localized subdirectories corresponding to the locale specified in the standard environment variables.
These variables control what subdirectories will be processed if the
-L option is used.
If set, its value is used to override the current machine type when searching machine specific subdirectories.
If set, its value is used to override the current architecture when searching architecture specific subdirectories.
Determines the set of directories to be processed if none are given on the command line.
Default directory to process if the
MANPATH environment variable is not set.
The default output file.
EXIT STATUS The
makewhatis utility exits 0 on success, and >0 if an error occurs.
makewhatis command appeared in
makewhatis program was originally written in Perl and was contributed by
. The current version of
makewhatis was rewritten in C by