MAKEWHATIS(8) MAKEWHATIS(8)
NAME
makewhatis - Create the whatis database
SYNOPSIS
makewhatis [-u] [-v] [-w] [-s sections ] [-c [catpath]] [manpath]
DESCRIPTION
makewhatis reads all the manual pages contained in(1,8) the given sections
of manpath or the preformatted pages contained in(1,8) the given sections of
catpath. For each page, it writes a line in(1,8) the whatis database; each
line consists of the name of the page and a short description, sepa-
rated by a dash. The description is extracted using the content of the
NAME section of the manual page.
Since other languages use a different term(5,7) for the NAME section, make-
whatis recognizes the equivalent terms in(1,8) Czech, Italian, Finnish,
French, German and Spanish.
If no manpath argument is given, /usr/man(1,5,7) is assumed by default.
OPTIONS
-u Update database with new pages.
-v Verbose output
-w Use manpath obtained from `man(1,5,7) --path`
-s sections
Looks in(1,8) the sections of manpath or catpath. If the option is
absent, its value is assumed to be 1 2 3 4 5 6 7 8 9 n l
-c catpath
The preformatted manual pages located in(1,8) catpath are scanned. If
the argument is not provided, it is assumed to be the first
existing directory between /usr/man(1,5,7)/preformat and /usr/man(1,5,7).
EXAMPLES
To rebuild only /usr/X11R6/man(1,5,7)/whatis and /usr/local/man(1,5,7)/whatis
makewhatis /usr/X11R6/man(1,5,7) /usr/local/man(1,5,7)
To rebuild all the databases, including those of the Finnish, French
and Italian translations
LANGUAGE=fi:fr:it makewhatis -w
BUGS
makewhatis may not handle too well manual pages written with non-stan-
dard troff macros, such as the Tcl/Tk pages.
makewhatis does not work on preformatted translations.
SEE ALSO
apropos(1), man(1,5,7)(1), whatis(1)
22 January 1999 MAKEWHATIS(8)