bugGNU gettext - Bugs: bug #49809, xgettext cannot parse...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #49809: xgettext cannot parse "\'"

Submitted by:  Markus Gothe <nihilus>
Submitted on:  Fri 09 Dec 2016 09:15:19 AM UTC  
 
Category: ShellSeverity: 3 - Normal
Item Group: NoneStatus: Need Info
Privacy: PublicAssigned to: None
Open/Closed: Open

Fri 09 Dec 2016 10:11:39 AM UTC, comment #2:

I've tried both 0.18.x and 0.19.8.1.

Try this:
{{{
#!/bin/sh

TMP="$(gettext "foobar")"
TMP="$(echo "$TMP" | tr -d \')"
TEST="$(gettext "HeyHey")"
TEST2="$(gettext "gabba gabba hey hey")"

echo "$TEST"
}}}

foobar will be extracted but not the rest.

Markus Gothe <nihilus>
Fri 09 Dec 2016 09:29:43 AM UTC, comment #1:

Sorry, you provide too little information. I can't reproduce it with:

We would at least need:

- What version of gettext did you use?
- What command line did you use?
- What behavior did you expect?
- What behavior did you actually see (what do you mean by "bail out")?

Thank you,

Daiki Ueno <ueno>
Project Administrator
Fri 09 Dec 2016 09:15:19 AM UTC, original submission:

Having the following in a script makes xgettext bail out:
"sed -e s/\'//g" or "tr -d \'"

Markus Gothe <nihilus>

 

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by ueno (Posted a comment)
  • -unavailable- added by nihilus (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):

     

     

    Follows 1 latest change.

    Date Changed By Updated Field Previous Value => Replaced By
    Fri 09 Dec 2016 09:29:43 AM UTCuenoStatusNone=>Need Info

    Back to the top


    Powered by Savane 3.1-cleanup1