makewhatiz(1) UNIX System V(DELL UNIX System V.4) makewhatiz(1)
NAME
makewhatiz - generate database for whatis command from (possibly
compressed) manual pages
SYNOPSIS
/usr/ucblib/makewhatiz [-m max] [-t tab] [-v] file1 file2 ...
DESCRIPTION
makewhatiz extracts the NAME sections from the compressed manual pages
specified by the file1, file2, ... arguments. A summary database
suitable to be installed as /usr/share/man/whatis is written to stdout.
If a specified file has a .Z suffix, uncompress is run on the file before
the NAME section is extracted. If a file argument specifies a directory,
all directories in the heirarchy below that file will be processed.
Arguments to the makewhatiz command are:
-m max
Specify the maximum length entry. makewhatiz searches for keywords
which should terminate the NAME section. With some command
descriptions, the end of the NAME section may not be recognized.
The max argument specifies the number of characters after which to
give up the search.
-t tab
Specify the tab-stop position in the output. The output of
makewhatiz has the format:
command name - description
The tab-stop position is the column at which the description should
start.
-v Specify verbose mode. If this flag is specified, makewhatiz will
print each file name as it is processed. This can be useful for
identifying files which cause problems for the makewhatiz program.
FILES
/usr/share/man/whatis data base
EXAMPLES
The whatis databases supplied with Dell UNIX System V.4 can be
reconstructed by the commands:
/usr/ucblib/makewhatiz /usr/share/man > /usr/share/man/whatis
sort -o /usr/share/man/whatis /usr/share/man/whatis
/usr/ucblib/makewhatiz /usr/share/manx > /usr/share/manx/whatis
sort -o /usr/share/manx/whatis /usr/share/manx/whatis
SEE ALSO
whatis(1).
10/89 Page 1