pear / pear-core

This is the definitive source of PEAR's core files.
http://pear.php.net/package/PEAR
Other
108 stars 103 forks source link

Fix manpage warning #95

Closed sathieu closed 5 years ago

sathieu commented 5 years ago
LC_ALL=en_US.UTF-8 MANROFFSEQ='' MANWIDTH=80 \
  man --warnings -E UTF-8 -l -Tutf8 -Z man1/pear.1 > /dev/null

Outputs:

troff: <standard input>:230: warning: macro 'PS' not defined

We use "Example begin" (.EX)/"Example end" (.EE) instead, see groff_man(7).

kenguest commented 5 years ago

Confirmed the warning occurring with /usr/share/man $ LC_ALL=en_US.UTF-8 MANROFFSEQ='' MANWIDTH=80 man --warnings -E UTF-8 -l -Tutf8 -Z man1/pear.1.gz > /dev/null

:230: warning: macro `PS' not defined Running this on the fixed file causes no warning to be displayed and the content is parsed/displayed the same as before.