1MAKEWHATIS(8)               System Manager's Manual              MAKEWHATIS(8)
2
3
4

NAME

6       makewhatis - Create the whatis database
7

SYNOPSIS

9       makewhatis [-u] [-v] [-w] [-s sections ] [-c [catpath]] [manpath]
10

DESCRIPTION

12       makewhatis  reads  all the manual pages contained in the given sections
13       of manpath or the preformatted pages contained in the given sections of
14       catpath.   For each page, it writes a line in the whatis database; each
15       line consists of the name of the page and a  short  description,  sepa‐
16       rated  by a dash. The description is extracted using the content of the
17       NAME section of the manual page.
18
19       Since other languages use a different term for the NAME section,  make‐
20       whatis  recognizes  the  equivalent  terms  in Czech, Italian, Finnish,
21       French, German and Spanish.
22
23       If no manpath argument is given, /usr/man is assumed by default.
24

OPTIONS

26       -u     Update database with new pages (file's status was  last  changed
27              24 hours ago)
28
29       -v     Verbose output
30
31       -w     Use manpath obtained from `man --path`
32
33       -s sections
34              Looks  in  the sections of manpath or catpath.  If the option is
35              absent, the MANSECT env var will be used.  If it too is  absent,
36              the MANSECT setting in man.conf will be used.
37
38       -c catpath
39              The preformatted manual pages located in catpath are scanned. If
40              the argument is not provided, it is  assumed  to  be  the  first
41              existing directory between /usr/man/preformat and /usr/man.
42

EXAMPLES

44       To rebuild only /usr/X11R6/man/whatis and /usr/local/man/whatis
45
46              makewhatis /usr/X11R6/man /usr/local/man
47
48       To  rebuild  all  the databases, including those of the Finnish, French
49       and Italian translations
50
51              LANGUAGE=fi:fr:it makewhatis -w
52

BUGS

54       makewhatis may not handle too well manual pages written with  non-stan‐
55       dard troff macros, such as the Tcl/Tk pages.
56
57       makewhatis does not work on preformatted translations.
58

AUTHOR

60       John  W.  Eaton  was  the  original  author  of man.  Zeyd M. Ben-Halim
61       released man 1.2, and Andries Brouwer followed  up  with  versions  1.3
62       thru  1.5p.   Federico  Lucifredi  <flucifredi@acm.org>  is the current
63       maintainer.
64

SEE ALSO

66       apropos(1), man(1), whatis(1)
67
68
69
70                              September 19, 2005                 MAKEWHATIS(8)
Impressum