The
manpath
utility constructs the manual path from two sources:
- From each component of the user's
PATH
for the first of:
|
pathname/man
|
|
pathname/MAN
|
|
If pathname ends with /bin:
pathname/../man
|
Note: Special logic exists to make
/bin
and
/usr/bin
look in
/usr/share/man
for manual files.
- The configuration files listed in the
FILES
section for
MANPATH
entries.
The information from these locations is then concatenated together.
If the
-L
flag is set, the
manpath
utility will search the configuration files listed in the
FILES
section for
MANLOCALE
entries.