Hi John,
> I should ask, what's the most reliable way of running `man -a -w`?
> I thought this was universal to `man` implementations
Neither are POSIX.
> but Solaris told me otherwise. illumos uses `man -w` to update the
> `makewhatis` database
whereis(1)? Again, not POSIX, but might not deviate so much.
$ whereis sleep | fmt
sleep: /usr/bin/sleep /usr/share/man/man3/sleep.3.gz
/usr/share/man/man3/sleep.3p.gz /usr/share/man/man1/sleep.1.gz
/usr/share/man/man1/sleep.1p.gz
$ whereis -m sleep | fmt
sleep: /usr/share/man/man3/sleep.3.gz /usr/share/man/man3/sleep.3p.gz
/usr/share/man/man1/sleep.1.gz /usr/share/man/man1/sleep.1p.gz
$
> The reason this is important is because it's how the NodeJS
> environment shells out to the system to locate manpages for
> display/processing.
The locations vary, e.g. a user's $MANPATH. Have the user specify it?
--
Cheers, Ralph.
https://plus.google.com/+RalphCorderoy