Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 9 Jan 2017 17:19:01 -0800
From:      "Simon J. Gerraty" <sjg@juniper.net>
To:        <sgk@troutmask.apl.washington.edu>
Cc:        <freebsd-doc@freebsd.org>, <freebsd-current@freebsd.org>, <freebsd-hackers@freebsd.org>, <sjg@juniper.net>
Subject:   Re: MANPATH not handled correctly
Message-ID:  <78804.1484011141@kaos.jnpr.net>
In-Reply-To: <20170108192633.GA42537@troutmask.apl.washington.edu>
References:  <20170108192633.GA42537@troutmask.apl.washington.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
Steve Kargl <sgk@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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?78804.1484011141>