Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

FreeBSD 11.0 - man page for catman (freebsd section 1)

CATMAN(1)						    BSD General Commands Manual 						 CATMAN(1)

catman -- preformat man pages
catman [-fLnrv] [directories ...]
The catman utility preformats all the man pages in directories using the nroff -man command. Directories may be separated by colons instead of spaces. If no directories are specified, the contents of the MANPATH environment variable is used, or if that is not set, the default directory /usr/share/man is processed. The options are as follows: -f Force all man pages to be reformatted even if the corresponding cat page is newer. -L Process only localized subdirectories corresponding to the locale specified in the standard environment variables. -n Print out what would be done instead of performing any formatting. -r Scan for and remove ``junk'' files that are neither man pages nor their corresponding formatted cat pages. -v Cause catman to be more verbose about what it is doing.
LC_ALL, LC_CTYPE, LANG These variables control what subdirectories will be processed if the -L option is used. MACHINE If set, overrides the current machine type when searching for machine specific man page subdirectories. MACHINE_ARCH If set, overrides the current architecture when searching for architecture specific man page subdirectories. MANPATH Determines the set of directories to be processed if none are given on the command line.
/usr/share/man Default directory to process if the MANPATH environment variable is not set.
The catman utility exits 0 on success, and >0 if an error occurs.
makewhatis(1), man(1), nroff(1)
A previous version of the catman command appeared in FreeBSD 2.1.
John Rochester
December 3, 2005 BSD