I tried to run man(1) for catpages only. It does not work if the corresponding manN sub-directory is missing How to repeat: $ mkdir man man/cat1 $ man cat | gzip > man/cat1/cat.1.gz $ man -M man cat No manual entry for cat Workaround: create a dummy, empty manN sub-directories. $ mkdir man/man1 $ man -M man cat [ now it is working ]
A commit references this bug: Author: bapt Date: Mon Dec 4 12:51:05 UTC 2017 New revision: 326527 URL: https://svnweb.freebsd.org/changeset/base/326527 Log: Only skip looking for manpages if both man directory and cat directory are not existing. This allows man(1) to read catpages when no man directories are available at all PR: 223559 Reported by: wosch MFC after: 3 days Changes: head/usr.bin/man/man.sh
A commit references this bug: Author: bapt Date: Fri Dec 8 10:47:24 UTC 2017 New revision: 326687 URL: https://svnweb.freebsd.org/changeset/base/326687 Log: MFC r326527: Only skip looking for manpages if both man directory and cat directory are not existing. This allows man(1) to read catpages when no man directories are available at all PR: 223559 Reported by: wosch Changes: _U stable/11/ stable/11/usr.bin/man/man.sh
A commit references this bug: Author: bapt Date: Fri Dec 8 10:47:30 UTC 2017 New revision: 326688 URL: https://svnweb.freebsd.org/changeset/base/326688 Log: MFC r326527: Only skip looking for manpages if both man directory and cat directory are not existing. This allows man(1) to read catpages when no man directories are available at all PR: 223559 Reported by: wosch Changes: _U stable/10/ stable/10/usr.bin/man/man.sh