bug-bash
[Top][All Lists]
Advanced

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

Re: bug#6377: Subject: inaccurate character class processing


From: Pádraig Brady
Subject: Re: bug#6377: Subject: inaccurate character class processing
Date: Tue, 08 Jun 2010 15:57:16 +0100
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.8) Gecko/20100227 Thunderbird/3.0.3

tags 6377 + notabug

On 08/06/10 14:48, Iosif Fettich wrote:
>         (I'm not sure if this a bash or a coreutils issue).
> 
>         ls [A-Z]*
> 
>         doesn't work as expected/documented.

The logic is in bash but it's not an issue.
It's using the collating sequence of your locale

$ touch a A b B z Z
$ echo [A-Z]*
A b B z Z
$ export LANG=C
$ echo [A-Z]*
A B Z




reply via email to

[Prev in Thread] Current Thread [Next in Thread]