Bug 407 - Wrong visualization of backticks
Wrong visualization of backticks
Status: RESOLVED FIXED
Product: Mktemp
Classification: Unclassified
Component: Documentation
1.6
PC Linux
: low high
Assigned To: Todd C. Miller
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2010-04-24 06:13 MDT by Marco Rucci
Modified: 2010-04-24 10:54 MDT (History)
0 users

See Also:


Attachments
Correct the backtick issue with utf8 devices (1.25 KB, patch)
2010-04-24 06:13 MDT, Marco Rucci
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Marco Rucci 2010-04-24 06:13:49 MDT
Created attachment 268 [details]
Correct the backtick issue with utf8 devices

Unfortunately the man page corresponding to mktemp.man is not correctly visualized when using an utf8 device. In particular the backticks in the example section are just not visualized so that, for example, the line in the .man file:
    
    TMPFILE=`mktemp` || exit 1

is visualized as:

    TMPFILE=mktemp || exit 1

To reproduce this problem, just execute:

    groff -man -Tutf8 mktemp.man

This problem can be corrected by substituting single backticks/backquotes with the groff character code \(ga should be used, as in:

    TMPFILE=\(gamktemp\(ga || exit 1

Attached is a patch that corrects this problem.

See also: 
    http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=457765
Comment 1 Todd C. Miller 2010-04-24 10:54:51 MDT
Fixed in the mercurial repo; will be part of mktemp 1.7