summaryrefslogtreecommitdiffstats
path: root/gnu
diff options
context:
space:
mode:
authorru <ru@FreeBSD.org>2001-10-01 16:58:30 +0000
committerru <ru@FreeBSD.org>2001-10-01 16:58:30 +0000
commitd2baaeb28758c3d4f5453bf675e972938ad0b446 (patch)
tree62279bc7c5741233c797494a79647ff6a7a23376 /gnu
parentcd665780889d705758d5769e7872e6e253d75a1f (diff)
downloadFreeBSD-src-d2baaeb28758c3d4f5453bf675e972938ad0b446.zip
FreeBSD-src-d2baaeb28758c3d4f5453bf675e972938ad0b446.tar.gz
Document how manpath(1) handles user's path directories that end in "/bin".
PR: docs/30940 MFC after: 3 days
Diffstat (limited to 'gnu')
-rw-r--r--gnu/usr.bin/man/manpath/manpath.man9
1 files changed, 9 insertions, 0 deletions
diff --git a/gnu/usr.bin/man/manpath/manpath.man b/gnu/usr.bin/man/manpath/manpath.man
index a287484..8d5a8ab 100644
--- a/gnu/usr.bin/man/manpath/manpath.man
+++ b/gnu/usr.bin/man/manpath/manpath.man
@@ -38,6 +38,15 @@ looks for the subdirectories
or
.Pa MAN .
If they exist, they are added to the search path.
+If they do not exist, but the directory ends in
+.Pa /bin ,
+.Nm
+replaces
+.Pa /bin
+with
+.Pa /man
+and checks if that directory exists.
+If it exists, it is added to the search path.
.Pp
.Nm Manpath
is used by
OpenPOWER on IntegriCloud