bugGNU troff - Bugs: bug #27422, [PATCH] Fix backquotes in output...

 
 

bug #27422: [PATCH] Fix backquotes in output (I18n issue)

Submitted by:  Jari Aalto <jaalto>
Submitted on:  Fri 11 Sep 2009 08:24:25 AM UTC  
 
Severity: 3 - NormalItem Group: None
Status: NonePrivacy: Public
Assigned to: NoneOpen/Closed: Open
Planned Release: None

Add a New Comment (Rich MarkupRich Markup):
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Sat 12 Sep 2009 05:51:38 AM UTC, comment #1:

Direct links to get latest getop*.h files:

http://sourceware.org/git/?p=glibc.git;a=blob_plain;f=posix/getopt.h;hb=HEAD
http://sourceware.org/git/?p=glibc.git;a=blob_plain;f=posix/getopt1.c;hb=HEAD

Jari Aalto <jaalto>
Fri 11 Sep 2009 08:24:25 AM UTC, original submission:

The current src/libs/libgroff/getopt.c displays messages using the `backtick' (US) syntax which is problematic.

- Copy/paste output/piping in shell is difficult because
backtick is a reserved shell metacharacter.
- The convention is not in use internationally.

SOLUTION - getop.c

Please update the copy of getopt.c from glibc project, that uses straight single quotes to fix this I18n issue. The latest code is at:

git clone git://sourceware.org/git/glibc.git
posix/getop.c

SOLUTION - other files

See patches below that fix the backtick issue in othe *.c file.
The patches are against the latest CVS groff sources as of 2009-09-11

NOTES

I wasn't sure to which part of CVS tree to make changes, so
I prefered the src/ dir over groff/src/ for patches.

RELATED

The problem of backquote output in groff is relataed e.g. to bug
http://bugs.debian.org/541147

Jari Aalto <jaalto>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by jaalto (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 2 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Fri 11 Sep 2009 08:24:25 AM UTCjaaltoAttached File-=>Added 0001-src-libs-libgroff-getopt1.c-Change-backtick-quotes-t.patch, #18696
      Attached File-=>Added 0001-src-devices-xditview-device.c-Change-backtick-quotes.patch, #18697

    Back to the top


    Powered by Savane 3.1-cleanup