• Bug#265858: grep-dctrl: Unescaped dashes in manpage break searching or

    From Andreas Metzler@1:229/2 to All on Sun Aug 15 14:00:08 2004
    From: [email protected]

    Package: grep-dctrl
    Version: 2.1.6
    Severity: minor
    Tags: patch

    grep-dctrl(1) contains lots of unescaped dashes ("-" instead of "\-").
    - They look identical in ISO-8859-1 but in a UTF-8 locale they are
    rendered as n-dash (a short dash). This breaks copy and past from the
    manpage and searching in it.

    Patch attached.
    cu andreas
    --
    "See, I told you they'd listen to Reason," [SPOILER] Svfurlr fnlf,
    fuhggvat qbja gur juveyvat tha.
    Neal Stephenson in "Snow Crash"

    --- grep-dctrl.1.cp.orig 2004-08-15 13:36:43.000000000 +0200
    +++ grep-dctrl.1.cp 2004-08-15 13:36:35.000000000 +0200
    @@ -16,36 +16,36 @@
    \" the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
    \" Boston, MA 02111-1307, USA.
    .SH NAME
    -grep-dctrl, grep-status, grep-available \- grep Debian control files +grep\-dctrl, grep\-status, grep\-available \- grep Debian control files
    .SH SYNOPSIS
    -.B grep-dctrl
    +.B grep\-dctrl
    [options] predicate
    [
    .IR file " ..."
    ]
    .sp
    -.B grep-status
    +.B grep\-status
    [options] predicate
    [
    .IR file " ..."
    ]
    .sp
    -.B grep-available
    +.B grep\-available
    [options] predicate
    [
    .IR file " ..."
    ]
    .sp
    -.B grep-dctrl
    ---copying | --help | --version | -ChV
    +.B grep\-dctrl
    +\-\-copying | \-\-help | \-\-version | \-ChV
    .sp
    -.B grep-status
    ---copying | --help | --version | -ChV
    +.B grep\-status
    +\-\-copying | \-\-help | \-\-version | \-ChV
    .sp
    -.B grep-available
    ---copying | --help | --version | -ChV
    +.B grep\-avail