| Main index | Section 8 | Options |
By default, makewhatis creates a database in each dir using the files man section/[arch/]title . sectionand cat section/[arch/]title .0in that directory. Existing databases are replaced. If a directory contains no manual pages, no database is created in that directory. If dir is not provided, makewhatis uses the default paths stipulated by man.conf(5).
The arguments are as follows:
| | |
| Use all directories and files found below dir .... | |
| | |
| Specify an alternative configuration file in man.conf(5) format. | |
| | |
|
Display all files added or removed to the index.
With a second
| |
| | |
| Merge (remove and re-add) file ... to the database in dir. | |
| | |
| Do not create or modify any database; scan and parse only, and print manual page names and descriptions to standard output. | |
| | |
| Print warnings about potential problems with manual pages to the standard error output. | |
| | |
| Quickly build reduced-size databases by reading only the NAME sections of manuals. The resulting databases will usually contain names and descriptions only. | |
| | |
| Use UTF-8 encoding instead of ASCII for strings stored in the databases. | |
| | |
|
Check the given
files
for potential problems.
Implies
| |
| | |
| Remove file ... from the database in dir. If that causes the database to become empty, also delete the database file. | |
If fatal parse errors are encountered while parsing, the offending file is printed to stderr, omitted from the index, and the parse continues with the next input file.
| MANPATH | |
|
A colon-separated list of directories to create databases in.
Ignored if a
dir
argument or the
| |
| mandoc.db | |
| A database of manpages relative to the directory of the file. This file is portable across architectures and systems, so long as the manpage hierarchy it indexes does not change. | |
| /etc/man.conf | |
| The default man(1) configuration file. | |
| 0 | No errors occurred. |
| 5 | Invalid command line arguments were specified. No input files have been read. |
| 6 | An operating system error occurred, for example memory exhaustion or an error accessing input files. Such errors cause makewhatis to exit at once, possibly in the middle of parsing or formatting a file. The output databases are corrupt and should be removed. |
The
dir
argument first appeared in
NetBSD
the options
| MAKEWHATIS (8) | $Mdocdate: May 17 2017 $ |
| Main index | Section 8 | Options |
Please direct any comments about this manual page service to Ben Bullock. Privacy policy.
| “ | A UNIX saleslady, Lenore, Enjoys work, but she likes the beach more. She found a good way To combine work and play: She sells C shells by the seashore. |
” |