[Dctrl-tools-devel] Bug#557964: dctrl-tools: Man page examples use quotes instead of apostrophes and backticks

Gerfried Fuchs rhonda at deb.at
Mon Dec 14 08:03:01 UTC 2009


 Just for a start, I am totally able to reproduce this on lenny, and it
seems like Ferenc reported this also with lenny.

* Ferenc Wagner <wferi at niif.hu> [2009-11-25 15:41:39 CET]:
> Subject says it all, but let me provide two examples from the
> EXAMPLES section:
> % grep-status -P -e ’apt|dpkg’
> should read
> % grep-status -P -e 'apt|dpkg'
> and
> % grep-available -c -FMaintainer \
>   "‘grep-available -sMaintainer -n -PX grep-dctrl‘"
> should read
> % grep-available -c -FMaintainer \
>   "`grep-available -sMaintainer -n -PX grep-dctrl`"
> instead to facilitate copy-paste.

 Am totally with you on this, the fix though isn't obvious. While
escaping the dashes works to make them real dashes and this also seems
to work with the backticks from my test, from a quick test I am not able
to produce real apostrophs. Escaping them turns them into this:

% grep-status -P -e ´apt|dpkg´

 ... which isn't any better from a copy&paste approach.

 If anyone is able to find out how to properly escape apostrophs I am
willing to commit the fix right ahead - I just don't want to commit a
fix for the backticks *only*. If we want to fix it it should be a
complete fix. :)


More information about the Dctrl-tools-devel mailing list