Re: [Mutt] #1937: manpage for /usr/bin/mutt
#1937: manpage for /usr/bin/mutt (/usr/share/man/man1/mutt.1.gz) contains
unescaped hyphens
-----------------------------------------+----------------------------------
Reporter: Marco d'Itri <md@xxxxxxxx> | Owner: pdmef
Type: enhancement | Status: new
Priority: minor | Milestone:
Component: doc | Version:
Resolution: | Keywords:
-----------------------------------------+----------------------------------
Changes (by pdmef):
* owner: mutt-dev => pdmef
* component: mutt => doc
Old description:
> {{{
> Package: mutt
> Version: 1.5.6-20040722+1
> Severity: normal
>
> [NOTE: this bug report has been submitted to the debian BTS as
> Bug#279591.
> Please Cc all your replies to 279591@xxxxxxxxxxxxxxx .]
>
> From: Joseph Nahmias <joe@xxxxxxxxxxx>
> Subject: manpage for /usr/bin/mutt (/usr/share/man/man1/mutt.1.gz)
> contains unescaped hyphens
> Date: Wed, 3 Nov 2004 23:32:08 +0000 (UTC)
>
> The manpage '/usr/share/man/man1/mutt.1.gz' contains unescaped hyphens
> which causes groff to render them as hyphens (U+2010) rather than
> regular ASCII dashes (0x2D).
>
> This causes problems in a number of cases: for example when someone
> wants to cut-and-paste from a manpage -- since programs do not interpret
> the unicode hyphen as a dash. Also, most pagers differentiate between
> the two characters, making searching for text that includes a dash
> difficult.
>
> Please change all instances of the '-' character in the manpage to '\-'
> to fix this. The following command should highlight most of the
> problematic instances:
>
> zgrep -Hn [^\\]- /usr/share/man/man1/mutt.1.gz | egrep -v
> '[0-9]+:\.\\"'
>
> Thanks,
> Joe Nahmias
>
> >How-To-Repeat:
> >Fix:
> }}}
New description:
{{{
Package: mutt
Version: 1.5.6-20040722+1
Severity: normal
[NOTE: this bug report has been submitted to the debian BTS as Bug#279591.
Please Cc all your replies to 279591@xxxxxxxxxxxxxxx .]
From: Joseph Nahmias <joe@xxxxxxxxxxx>
Subject: manpage for /usr/bin/mutt (/usr/share/man/man1/mutt.1.gz)
contains unescaped hyphens
Date: Wed, 3 Nov 2004 23:32:08 +0000 (UTC)
The manpage '/usr/share/man/man1/mutt.1.gz' contains unescaped hyphens
which causes groff to render them as hyphens (U+2010) rather than
regular ASCII dashes (0x2D).
This causes problems in a number of cases: for example when someone
wants to cut-and-paste from a manpage -- since programs do not interpret
the unicode hyphen as a dash. Also, most pagers differentiate between
the two characters, making searching for text that includes a dash
difficult.
Please change all instances of the '-' character in the manpage to '\-'
to fix this. The following command should highlight most of the
problematic instances:
zgrep -Hn [^\\]- /usr/share/man/man1/mutt.1.gz | egrep -v
'[0-9]+:\.\\"'
Thanks,
Joe Nahmias
>How-To-Repeat:
>Fix:
}}}
--
--
Ticket URL: <http://dev.mutt.org/trac/ticket/1937#comment:6>
Mutt <http://www.mutt.org/>
The Mutt mail user agent