Re: RFS: collectl
Bernd Schubert <bernd.schubert@fastmail.fm> writes:
> I just fixed a couple of --pedantic complaints. Now two issues are left.
> I: collectl: hyphen-used-as-minus-sign usr/share/man/man1/collectl.1.gz:139
> [...]
> I: collectl: hyphen-used-as-minus-sign usr/share/man/man1/collectl.1.gz:198
> I: collectl: hyphen-used-as-minus-sign usr/share/man/man1/collectl.1.gz:200
> I: collectl: hyphen-used-as-minus-sign usr/share/man/man1/collectl.1.gz:202
> I: collectl: hyphen-used-as-minus-sign usr/share/man/man1/collectl.1.gz:203
> I: collectl: hyphen-used-as-minus-sign usr/share/man/man1/collectl.1.gz:208
> I: collectl: hyphen-used-as-minus-sign usr/share/man/man1/collectl.1.gz:228
> I: collectl: hyphen-used-as-minus-sign usr/share/man/man1/collectl.1.gz:229
> I: collectl: hyphen-used-as-minus-sign usr/share/man/man1/collectl.1.gz:239
> I: collectl: hyphen-used-as-minus-sign usr/share/man/man1/collectl.1.gz:252
> I: collectl: hyphen-used-as-minus-sign usr/share/man/man1/collectl.1.gz 25
> more occurrences not shown
> I already fixed several of those, but I have to admit, that I do not
> agree on that solution. There is not a single "minus", but all dashes
> are "hyphens".
Which is wrong in *roff for things like program options.
> And replacing everything with "\(hy" only reduces readability on editing
> the man page.
This is normally the wrong fix. Usually, the correct fix is to replace -
with \-. Are you sure that it's really supposed to be a soft Unicode
hyphen instead of an ASCII hyphen?
--
Russ Allbery (rra@debian.org) <http://www.eyrie.org/~eagle/>
Reply to: