Bug 407

Summary: Wrong visualization of backticks
Product: Mktemp Reporter: Marco Rucci <marco.rucci>
Component: DocumentationAssignee: Todd C. Miller <Todd.Miller>
Status: RESOLVED FIXED    
Severity: high    
Priority: low    
Version: 1.6   
Hardware: PC   
OS: Linux   
Attachments: Correct the backtick issue with utf8 devices

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