4.2BSD/usr/man/man8/catman.8

Compare this file to the similar file:
Show the results in this format:

.TH CATMAN 8 "4 February 1983"
.UC 4
.SH NAME
catman \- create the cat files for the manual
.SH SYNOPSIS
.B /etc/catman
[
.B \-p
] [
.B \-n
] [
.B \-w
]
[ sections ]
.SH DESCRIPTION
.I Catman
creates the preformatted versions of the on-line manual from the nroff
input files.
Each manual page is examined and those whose preformatted versions are
missing or out of date are recreated.
If any changes are made,
.I catman
will recreate the
.B /usr/lib/whatis
database.
.PP
If there is one parameter not starting with a `\-',
it is take to be a list of manual sections to look in.
For example
.IP
.B catman 123
.LP
will cause the updating to only happen to manual sections
1, 2, and 3.
.PP
Options:
.TP
.B \-n
prevents creations of
.BR /usr/lib/whatis .
.TP
.B \-p
prints what would be done instead of doing it.
.TP
.B \-w
causes only the 
.B /usr/lib/whatis
database to be created.
No manual reformatting is done.
.SH FILES
.ta 2i
/usr/man/man?/*.*	raw (nroff input) manual sections
.br
/usr/man/cat?/*.*	preformatted manual pages
.br
/usr/lib/makewhatis	commands to make whatis database
.DT
.SH "SEE ALSO"
man(1)
.SH BUGS
Acts oddly on nights with full moons.