On Tue, Jun 08, 2010 at 04:25:53PM +0200, Roman Rakus wrote:
> In your locales lower letters are before capital letters, therefore
> [a-z] does not include capital.
That's unlikely. More often, they're mixed together (AaÁáäBb).
> In C locales the sequence is capital letters and then lower l
On Tue, Jun 8, 2010 at 4:48 PM, Iosif Fettich 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
On 06/08/2010 03:48 PM, Iosif Fettich wrote:
Configuration Information [Automatically generated, do not change]:
Machine: x86_64
OS: linux-gnu
Compiler: gcc
Compilation CFLAGS: -DPROGRAM='bash' -DCONF_HOSTTYPE='x86_64'
-DCONF_OSTYPE='linux-gnu' -DCONF_MACHTYPE='x86_64-unknown-linux-gnu'
-DCONF
On Tue, Jun 08, 2010 at 04:48:08PM +0300, Iosif Fettich wrote:
> ls [A-Z]*
>
> doesn't work as expected/documented.
> I'd want/expect it to list the filenames starting with an uppercase
> letter.
The results of this are dependent upon your locale. If your locale