From 31807569011a495ed19724b4df14eb10a33e63b3 Mon Sep 17 00:00:00 2001 From: Ruslan Ermilov Date: Mon, 1 Oct 2001 16:58:30 +0000 Subject: [PATCH] Document how manpath(1) handles user's path directories that end in "/bin". PR: docs/30940 MFC after: 3 days --- gnu/usr.bin/man/manpath/manpath.man | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/gnu/usr.bin/man/manpath/manpath.man b/gnu/usr.bin/man/manpath/manpath.man index a287484cd233..8d5a8ab75b6b 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