On Sun, Oct 16, 2022 at 04:58:59PM +0300, Eli Zaretskii wrote: > > From: Gavin Smith <gavinsmith0...@gmail.com> > > Date: Sun, 16 Oct 2022 14:23:27 +0100 > > Cc: bug-texinfo@gnu.org > > > > I've committed more code to use "man -w" first to check if the man page > > exists, before "man -a", in commit 8520d2b4d8. > > Is the -w option to 'man' portable? According to my Posix references, > it isn't.
No, it doesn't exist on Solaris: https://docs.oracle.com/cd/E26502_01/html/E29030/man-1.html#scrolltoc It may be more trouble than it's worth to try to account for different man versions. Any other comments before I revert the change?