man manpages man1p man0p ... etc.
n-roeser at gmx.net
Fri Sep 17 14:44:31 PDT 2004
-----BEGIN PGP SIGNED MESSAGE-----
Aaron Lee wrote:
> I did check the path. The man pages are located in:
> The same path for all my man pages.
> man acknowledges the search path:
> I can display the man pages in man1, but I can't
> display the pages in man1p.
> Why would the path to man1 work but the path to man1p
Edit your /etc/man.conf (hint: search for MANSECT). Mine has a part like
- -----BEGIN /etc/man.conf snippet-----
# Default manual sections (and order) to search if -S is not specified
# and the MANSECT environment variable is not set.
- -----END /etc/man.conf snippet-----
That means that man should look for the man page in section 1p (POSIX
user commands) first, and fall back to sections 1, 8, 0p, ... (in that
order) if it was not found in 1p.
As you can see, my configuration makes sure that I always get the POSIX
man page for something if it exists. (I usually need that for portable
You can try the following:
man 1 cp
man 1p cp
Note: This syntax to specify the syntax applies to GNU man, I know other
mans where you have to say 'man -s 1', for example (IIRC).
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (GNU/Linux)
-----END PGP SIGNATURE-----
More information about the lfs-support