[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#362514: locales: et_EE causes "sed -e expression #1 char 19: Invalid range end"



On Fri, Apr 14, 2006 at 12:31:53AM +0300, Juhan Ernits wrote:
> Package: locales
> Version: 2.3.6-6
> Severity: normal
> Tags: l10n
> 
> *** Please type your report below this line ***
> 
> The following expression is contained in /sbin/MAKEDEV:
> 
>  sed -e 's/[^A-Za-z0-9_]/_/g'
> 
> It is called by several postinstall scripts. 

Under Estonian locale, z is sorted between s and t:
  $ echo pqrstu | LC_ALL=et_EE sed -e 's/[a-z]//g'
  tu
So these scripts need to be fixed by prefixing sed calls with LC_ALL=C.
I filed several bugs in December, but please file new ones if you
find broken scripts.

[...]
> I could _not_ reproduce the bug with the following program:
[...]

I will try to have a look, but it will be much easier to track down if
a simple C program could be provided to reproduce this bug ;)

Denis



Reply to: