Wednesday, July 24, 2019

Re: makewhatis for man page changes

Hi,

Jungle Boogie wrote on Wed, Jul 24, 2019 at 11:14:33AM -0700:

> $ MANPATH=/usr/local/share/man:
> $ echo $MANPATH
> /usr/local/share/man:
>
> $ man nmap
> man: No entry for nmap in the manual.

Oh well,

$ export MANPATH

is missing here. Sorry for not noticing that omission earlier.

> However, this will work:
> $ man -M /usr/local/share/man: nmap
>
> That will at least get it to load the manpage.

Sure, and so will

$ man -m /usr/local/share/man nmap

even without a colon. So many possibilities...

If i were the to re-design the user interface from scratch, there
would be fewer possibilities, but i don't see the point in deleting
ways that used to work in the past, causing gratuitious incompatibility.

Yours,
Ingo

> Creating a /etc/man.conf page and adding the entry into it gets
> man pages to load.

No comments:

Post a Comment