On Tue, Jun 8, 2010 at 4:48 PM, Iosif Fettich <ifett...@netsoft.ro> wrote: ... > > ls [a-z]* > > outputs > > a A b B z > > (why 'A' and 'B' - and/or where's 'Z'...?!!) > > it's a classic problem with the locale, the range [a-z] contains the capital letters for some locale definitions ie a-z is aAbB ....z (Z is after the z) As a workaround you can export LC_COLLATE=C, or maybe use [[:lower:]] instead of [a-z]
- Subject: inaccurate character class processing Iosif Fettich
- Re: Subject: inaccurate character class processing Greg Wooledge
- Re: Subject: inaccurate character class processing Roman Rakus
- Re: Subject: inaccurate character class processing Greg Wooledge
- Re: Subject: inaccurate character class processing Pierre Gaston
- Re: bug#6377: Subject: inaccurate character class proc... Pádraig Brady