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

Bug#256440: LC_COLLATE broken using es_ES and es_ES@euro



On Sun, Jun 27, 2004 at 05:39:42AM +0200, Daniel Peña wrote:
> Package: locales
> Version: 2.2.5-11.5
> 
> When I invoke 'ls [A-Z][A-Z]*' trying to find files starting with 2 
> upper-case letters, I obtain the listing of all the dir and its subdirs 
> like if I invoked 'ls *'.
> This happen when LC_COLLATE is set to 'es_ES' or 'es_ES@euro' (or 
> LC_ALL="es_ES" or LC_ALL="es_ES@euro").
> When LC_COLLATE is set to 'C' (LANG="es_ES" or LANG="es_ES@euro" and 
> LC_ALL="") all goes all right.

I doubt this is a bug. Many non-C locales have a collation order that
sorts like this:

  AaBbCcDd...

If you want ABCD...abcd..., then LC_COLLATE=C is available.

Cheers,

-- 
Colin Watson                                  [cjwatson@flatline.org.uk]



Reply to: