我最近发现,除了 man ? 页面之外,一些 UNIX 文档也可以作为 cat ? 页面使用。(参照这个问题:mandb和流浪猫有什么关系?)
来自man catman
:
NAME
catman - create or update the pre-formatted manual pages
SYNOPSIS
catman [-d?V] [-M path] [-C file] [section] ...
DESCRIPTION
catman is used to create an up to date set of pre-formatted manual pages known as cat pages. Cat pages are generally much faster to display than the
original manual pages, but require extra storage space. The decision to support cat pages is that of the local administrator, who must provide suit‐
able directories to contain them.
The options available to catman are the manual page hierarchies and sections to pre-format. The default hierarchies are those specified as system
hierarchies in the man-db configuration file, and the default sections are either the colon-delimited contents of the environment variable $MANSECT or
the standard set compiled into man if $MANSECT is undefined. Supplying catman with a set of whitespace-delimited section names will override both of
the above.
我的问题是:可用于显示猫页面的命令是什么?
是的,有一个命令可用于显示猫页面:
man
!从手册页:
要查看原始
cat
文件,请使用诸如less
或之类的工具more
——cat
文件只是预渲染的手册页。(流浪猫需要这个。)