The man page for mandb refers to stray cats:

-s, --no-straycats
       Do not spend time looking  for  or  adding  information  to  the
       databases regarding stray cats.

There is no explanation of what a stray cat is. What's up?


From the Glossary in /usr/share/doc/man-db/man-db-manual.txt (source is manual/glossary.me):

cat page
A formatted manual page suitable for viewing on a vt100-type terminal.

stray cat page
A cat page that does not have a relative manual page on the system, i.e. only the cat page was supplied or the manual page was removed after the cat page had been created.
  • 2
    That explains the catman command too – Andy Feb 21 '15 at 2:02
  • I don't understand. A "cat page" is a manual page (as per your answer). Then (also per your answer) a "stray cat page" is "a cat page that does not have a relative manual page". The answer affirms that a "cat page" is a manual page (with some specific characteristic). What is the meaning of a cat page (that is a manual page) not having a relative manual page? – Rafael Eyng Dec 11 '19 at 22:39
  • You missed the word "formatted". – JdeBP Jan 11 '20 at 18:28
  • Probably "related" (corresponding, matching) would be a better word than "relative." – x-yuri Jan 22 at 18:07

A cat page is a particular type of man page. It is faster to display than a normal man page, but requires more hard drive space. They are created by using the catman command. This reads the 'regular' man pages and produces new pages with a different internal structure, called cat pages. If you create cat page(s) and then remove the original man page(s), you'll have "stray" cat page(s).

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.