I was just wondering why
echo $MANPATH does not work (on my system (Debian Jessie x86_64 GNU/Linux 3.16.0-4-amd64)). The
manpath command alone works well:
user@host:~$ manpath /usr/local/man:/usr/local/share/man:/usr/share/man
/etc/manpath.config - exists and contains uncommented lines, according to the ones listed by
The manpath man page says:
If $MANPATH is set, manpath will simply display its contents ...
So, why does
manpath work and
echo $MANPATH doesn't?