MAKEMANDB(8) | System Manager's Manual | MAKEMANDB(8) |
makemandb
— parse
the manual pages and build a search index for
apropos(1)
makemandb |
[-floQqv ] [-C
path] |
The makemandb
utility traverses the
directories containing man pages, parses the manual pages with the help of
mandoc(3) and builds an SQLite
database to support full text searches by
apropos(1). It obtains the
list of directories to traverse using the -p
option
of man(1).
It supports the following options:
-C
path-f
-l
-o
-Q
-q
-v
The index generated by makemandb
is also
used by the whatis(1) program,
replacing the old “makewhatis” program.
The name of the FTS table is mandb and its schema is as follows:
section |
The section number of the page |
name |
The name of the page from the NAME section. |
name_desc |
The one line description from the NAME section. |
desc |
The DESCRIPTION section. |
lib |
The LIBRARY section. |
return_vals |
The RETURN VALUES section. |
env |
The ENVIRONMENT section. |
files |
The FILES section. |
exit_status |
The EXIT STATUS section. |
diagnostics |
The DIAGNOSTICS section. |
errors |
The ERRORS section. |
md5_hash |
MD5 checksum of the man page. |
machine |
The machine architecture (if any) for which the man page is relevant. |
_mandb
tag.Abhinav Upadhyay
June 18, 2016 | NetBSD 10.99 |