source: trunk/minix/man/man5/whatis.5@ 9

Last change on this file since 9 was 9, checked in by Mattia Monga, 13 years ago

Minix 3.1.2a

File size: 1.5 KB
RevLine 
[9]1.TH WHATIS 5
2.SH NAME
3whatis \- database of online manual pages
4.SH SYNOPSIS
5.B /usr/man/*/whatis
6.br
7.B /usr/man/whatis
8.SH DESCRIPTION
9The
10.B whatis
11file in each manual page directory is a database of titles for manual pages.
12This database is used by
13.BR man (1)
14to map titles to manual pages names. The database is created by
15.BR makewhatis (1)
16from the NAME sections of the manual pages.
17.PP
18The NAME secions must be simple lines with no troff fluff but one
19backslash like these two:
20.PP
21.RS
22whatis \e\- database of online manual pages
23.br
24cawf, nroff \e\- C version of the nroff-like, Amazingly Workable (text)
25Formatter
26.RE
27.PP
28These lines are transformed by
29.B makewhatis
30to these two lines for the database:
31.PP
32.RS
33cawf, nroff (1) \- C version of the nroff-like, Amazingly Workable (text)
34Formatter
35.br
36whatis (5) \- database of online manual pages
37.RE
38.PP
39As you can see they are in section number order, so that
40.B man
41searches them in section order.
42.PP
43Each entry is just a single line, restricting the NAME section to a single
44line too with just one dash, and commas and spaces before the dash as you
45see above.
46.SH "SEE ALSO"
47.BR man (1),
48.BR whatis (1),
49.BR makewhatis (1),
50.BR man (7).
51.SH BUGS
52It seems to be impossible for many manual page writers to keep the NAME
53section simple. They also like to use every font available in their
54documents. My simple scripts can't read their NAME sections, my simple
55me can't read their texts.
56.SH AUTHOR
57Kees J. Bot (kjb@cs.vu.nl)
Note: See TracBrowser for help on using the repository browser.