Re: [hatari-devel] [PATCH] Fix groff warning in hatari_profile.1 |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/hatari-devel Archives
]
Hi,
On 16.9.2022 23.37, Teemu Hukkanen wrote:
While preparing the Debian packaging for Hatari 2.4.1, I came across a
warning from groff in hatari_profile.1.
A period at the beginning of a line starts a command for groff, add a
zero-width space before to mitigate this.
Thanks for reporting!
To see the warning, run:
LC_ALL=C.UTF-8 MANROFFSEQ='' MANWIDTH=80 man --warnings -E UTF-8 -l \
-Tutf8 -Z ./tools/debugger/hatari_profile.1 >/dev/null
Better use troff directly to check all files:
$ troff -man -w w $(git ls-files '*.1') > /dev/null
That shows few additional warnings:
-----------------------------------
troff: doc/hatari.1:38: warning: escape character ignored before '<'
troff: doc/hatari.1:262: warning: invalid input character code 151
troff: tools/debugger/hatari_profile.1:56: warning: macro '..' not defined
-----------------------------------
Patch attached, also available at:
<https://git.sr.ht/~tjhukkan/hatari/commit/bb42e887841e41bf102913ae56cd1a7d2fd24c4c>
I pushed fixes for all 3 issues.
- Eero