[Bug 290911] man(1) does not support "-l" option, causing portability issues

[email protected] Sun, 09 Nov 2025 11:23:43 +0000
Newsgroups gmane.os.freebsd.devel.standards
Message-ID <[email protected]/bugzilla/>
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=290911

--- Comment #1 from Johannes Altmanninger <[email protected]> ---
> if man -l "$file" >/dev/null 2>&1

FWIW that workaround also needs `MANPAGER=cat WHATISPAGER=cat` to work around
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=282414,
else the if-condition might spawn a man pager..

-- 
You are receiving this mail because:
You are the assignee for the bug.