xref: /netbsd-src/usr.sbin/catman/catman.8 (revision cda4f8f6ee55684e8d311b86c99ea59191e6b74f)
1.\" Copyright (c) 1993 Winning Strategies, Inc.
2.\" All rights reserved.
3.\"
4.\" Redistribution and use in source and binary forms, with or without
5.\" modification, are permitted provided that the following conditions
6.\" are met:
7.\" 1. Redistributions of source code must retain the above copyright
8.\"    notice, this list of conditions and the following disclaimer.
9.\" 2. Redistributions in binary form must reproduce the above copyright
10.\"    notice, this list of conditions and the following disclaimer in the
11.\"    documentation and/or other materials provided with the distribution.
12.\" 3. All advertising materials mentioning features or use of this software
13.\"    must display the following acknowledgement:
14.\"      This product includes software developed by Winning Strategies, Inc.
15.\" 4. The name of the author may not be used to endorse or promote products
16.\"    derived from this software withough specific prior written permission
17.\"
18.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
19.\" IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
20.\" OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
21.\" IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
22.\" INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
23.\" NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
24.\" DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
25.\" THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
26.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
27.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
28.\"
29.\" $Header: /cvsroot/src/usr.sbin/catman/catman.8,v 1.1 1993/07/27 21:29:31 jtc Exp $
30.\"
31.Dd July 30, 1993
32.Dt CATMAN 8
33.Os
34.Sh NAME
35.Nm catman
36.Nd format cat pages from man pages
37.Sh SYNOPSIS
38.Nm catman
39.Op Fl npw
40.Op Fl M Ar directory
41.Op Ar sections
42.Sh DESCRIPTION
43.Nm Catman
44creates formatted versions of the on-line manual pages from their
45.Xr nroff 1
46source.
47Manual pages whose formatted versions are missing or out of date are
48regenerated.
49If changes are made,
50.Nm catman
51regenerates the
52.Nm whatis
53database.
54.Pp
55The options are as follows:
56.Bl -tag -width indent
57.It Fl n
58Do not create the
59.Nm whatis
60database.
61.It Fl p
62Display the commands that would have been executed, but do not actually
63execute them.
64.It Fl w
65Only create the
66.Nm whatis
67database.
68.It Fl M Ar directory
69Update manual pages in
70.Ar directory.
71.El
72.Sh SEE ALSO
73.Xr apropos 1 ,
74.Xr man 1 ,
75.Xr whatis 1
76