[info compiled from git on 2022-11-29]
I have a manpage `fc-list.1` twice on my system: /usr/share/man/man1/fc-list.1.gz (old) /usr/local/share/man/man1/fc-list.1 (new) >From `set | less`: MANPATH=/usr/local/man:/usr/local/share/man:/usr/share/man INFOPATH=/usr/local/share/info: Note that there is no trailing or leading `:` in my `MANPATH` environment variable. If I say `man fc-list`, I get the new manpage version. However, if I say `info fc-list`, I get the old manpage version, i.e., the manpage from `/usr/share/man` gets displayed. This smells fishy. Is it possible that `info` doesn't pass the `MANPATH` environment variable to the `man` subprocess? In my `/etc/manpath.config` file, the order of directories is indeed different: ``` MANDATORY_MANPATH /usr/man MANDATORY_MANPATH /usr/share/man MANDATORY_MANPATH /usr/local/share/man ``` However, according to the 'manpath(1)' man page, the value in `/etc/manpath.config` should beignored if `MANPATH` is set... Werner