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

From: <bugzilla-noreply_at_freebsd.org>
Date: Sun, 09 Nov 2025 11:23:43 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=290911

--- Comment #1 from Johannes Altmanninger <aclopte@gmail.com> ---
> 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.