[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Bug#279992: xgettext misparses Bash source using "eval_gettext" and the
From: |
Santiago Vila |
Subject: |
Bug#279992: xgettext misparses Bash source using "eval_gettext" and the `'' character (fwd) |
Date: |
Sun, 7 Nov 2004 01:05:09 +0100 (CET) |
Hello.
Received this from the Debian bug system:
---------- Forwarded message ----------
From: Alfredo <address@hidden>
To: Debian Bug Tracking System <address@hidden>
Date: Sat, 06 Nov 2004 15:50:54 +0100
Subject: Bug#279992: xgettext misparses Bash source using "eval_gettext" and
the `'' character
Package: gettext
Version: 0.14.1-5
Severity: normal
from the Advanced Bash Scripting Guide:
error "`eval_gettext \"Can't cd to \$var.\"`"
using xgettext to extract this string doesn't work because it
contains the `'' character in the words "Can't"
Since
error "`gettext \"Can't cd to var.\"`"
is correctly extracted, I think we have a problem
with xgettext and the eval_gettext function.
(I changed \$var to var because gettext is to be used without shell variables)
Maybe the shell parser in x-sh.c of the gettext-tools is a bit broken?
-- System Information:
Debian Release: 3.1
APT prefers testing
APT policy: (990, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.6.8-1-k7
Locale: LANG=it_IT, LC_CTYPE=it_IT
Versions of packages gettext depends on:
ii gettext-base 0.14.1-5 GNU Internationalization utilities
ii libc6 2.3.2.ds1-18 GNU C Library: Shared libraries an
-- no debconf information
- Bug#279992: xgettext misparses Bash source using "eval_gettext" and the `'' character (fwd),
Santiago Vila <=