Go to the first, previous, next, last section, table of contents.


6 Preformat man pages

The catman.pl perl script is used to create compressed, formatted man pages from man pages in nroff format.

6.1 catman options

The catman perl script supports the following options.

`-f'
`-force'
Force overwriting old cat pages. Normally only those pages will be formatted which are not up to date. This option is a waste of time, CPU and RAM.
`-h'
`-help'
Print options and exit.
`-p'
`-print'
Don't actually format man pages. Show what would be done.
`-r'
`-remove'
Remove garbage, e.g. catpage without manpage, uncompressed catpage but a compressed catpage exists, filenames with non-alphanumeric characters, uncompressed manpage but a compressed manpage exists.
`-v'
`-verbose'
More warnings.

6.2 catman invocation

Catman preformats and compresses man pages.

Synopsis:

catman [-h|-help] [-f|-force] [-p|-print] [-r|remove]
       [-v|-verbose] [directories ...]

Typical usage:

$ catman

Format man pages in `/usr/share/man' (default) if neccessary.

$ catman $MANPATH

Format all your man pages if neccessary.

$ catman -f /usr/local/man/man1 /usr/local/man/manl

Force reformatting of all man pages in `/usr/local/man/man1' and `/usr/local/man/manl'.

$ catman -p /usr/X11/man

Show only.

$ catman /gg/man

Format all man pages in `/GG/man'.


Go to the first, previous, next, last section, table of contents.