HP B2355-92068 Administration Manual page 122

System administration commands
Table of Contents

Advertisement

catman(1M)
NAME
catman - create the cat files for the on-line manpages
SYNOPSIS
/usr/sbin/catman
DESCRIPTION
The
catman
source files. Each manpage in the
c
versions are missing or out-of-date are recreated.
compresses it, and puts it into the appropriate
If any changes are made,
/usr/share/lib/whatis
non-default set of paths, the old database file is saved in
desired, the system administrator may merge them together.
By default,
/usr/share/man
/usr/contrib/man
/usr/local/man
If
MANPATH
default. See environ(5) for a description of the
Before running
tories should be removed instead. If both
tories and more space is used.
Any command-line parameters not starting with
tories) to search. For example:
catman 123
restricts updating to manpage sections 1, 2, and 3 (directories
Options
supports the following options:
catman
-m
-n
-p
-w
-z
alt-path
-A
EXTERNAL INFLUENCES
Environment Variables
defines parent directories to be used when searching
MANPATH
WARNINGS
If unformatted manpages (those in the
was run, information in the
catman
may be used to override this, but may result in repeated lines in the database for the same manpage.
EXAMPLES
Create uncompressed
/usr/share/lib/whatis
122
Hewlett-Packard Company
[
-A
alt-path] [
command creates the formatted versions of the online mapages from
man*.Z
recreates the
catman
database is overwritten. If the
searches the
catman
man*.Z
is set in the environment, the directories given in
, remove any existing
catman
Create a merged
manpage entries (added since the last time
current database rather than overwriting it. Ignored if selected with the
Prevents creation of
Prints what would be done instead of doing it.
Causes only the
/usr/share/lib/whatis
reformatting is done.
Puts the formatted entries in the
tories.
Perform actions based on the given alternate root. With this option, alt-path will be
prepended to all directory paths, including default paths, the paths defined by
, and the path to
PATH
/usr/share/lib/whatis
cat*
files for sections 1 and 1m of the manual, but don't create the
database:
-p
] [
-m
] [
-n
] [
-w
] [
-z
] [sections]
and
man*
directories is examined, and those whose formatted
formats the most recent of the entries,
catman
directory.
cat*.Z
/usr/share/lib/whatis
MANPATH
/usr/share/lib/whatis.old
and
subdirectories under the following man directories:
man*
environment variable.
MANPATH
directories. If the
cat*
and
directories exist, man(1) updates both direc-
cat*.Z
cat*
-
are interpreted as a list of manpage sections (direc-
man1
/usr/share/lib/whatis
/usr/share/lib/whatis
directories rather than in the
cat*
/usr/share/lib/whatis
man*
subdirectories) have been removed since the last time
../man*
− 1 −
HP-UX 11i Version 2: December 2007 Update
catman(1M)
nroff
database. By default, the
environment variable is set to a
are checked instead of the
MANPATH
option is used,
-z
cat*.Z
,
man2
, and
man3
).
database; i.e., information on new
was run) is merged into the
catman
-n
.
database to be created. No manpage
cat*.Z
.
and
directories.
man*.Z
database may be lost. The
-compatible
so that, if
direc-
option.
direc-
MAN-
option
-m

Advertisement

Table of Contents
loading

This manual is also suitable for:

Hp-ux 11i

Table of Contents