Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix manpage warning #95

Merged
merged 1 commit into from
Aug 2, 2019
Merged

Fix manpage warning #95

merged 1 commit into from
Aug 2, 2019

Conversation

sathieu
Copy link
Contributor

@sathieu sathieu commented Aug 1, 2019

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).

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
Copy link
Member

kenguest commented Aug 2, 2019

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.

@kenguest kenguest merged commit fd8ea69 into pear:master Aug 2, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants