HomeFreeBSD

man(1) needs to check for .so files not only in the first line

Description

man(1) needs to check for .so files not only in the first line
PR: 279182

Some manual pages have a copyright notice or commit id before including
other files with the .so macro. We need to skip comments and empty lines
at the beginning of the manpage while checking for the first .so macro.

MFC after: 1 week

(cherry picked from commit 73eb53813fe3a2245edbeb670902e4bb9d41e288)

Details

Provenance
woschAuthored on May 26 2024, 5:48 AM
Parents
rG19f8e6b9a337: man: do not ignore the exit status of roff tools
Branches
Unknown
Tags
Unknown