Re: MANPATH not handled correctly

From: Simon J. Gerraty <sjg_at_juniper.net>
Date: Mon, 9 Jan 2017 17:19:01 -0800
Steve Kargl <sgk_at_troutmask.apl.washington.edu> wrote:

> MANPATH is not handled correctly.  According to the documentation
> in apropos(1) and whatis(1):

Can you clarify where you are seeing this documentation?
I don't see it in 7.x 10.x or current.

Eg, in 10.2 apropos(1) says only:

ENVIRONMENT
     The following environment variables affect the execution of
     apropos:

     MANLOCALES, MANPATH, PATH
                 Used to find the location of the whatis database
                 files. See manpath(1) for additional information.

     PAGER  Program used to display files.  If unset, more -s is used.


> 
>   MANPATH   The standard search path used by man(1) may be changed by
>             specifying a path in the MANPATH environment variable.  Invalid
>             paths, or paths without manual databases, are ignored.
>             Overridden by -M.  If MANPATH begins with a colon, it is
>             appended to the default list; if it ends with a colon, it is
>             prepended to the default list; or if it contains two adjacent
>             colons, the standard search path is inserted between the
>             colons.  If none of these conditions are met, it overrides the
>             standard search path.
Received on Tue Jan 10 2017 - 00:22:16 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:09 UTC