Machine Type: i386-pc-linux-gnu
Bash Version: 2.05b
Patch Level: 0
Release Status: release
Description:
Globbing seems to be always case insensitive when using any
locale.
Globbing depends on the collation order imposed by the locale. Many
locales do not collate A..Za..z as you seem to be expecting (for
example, en_US collates aAbB...zZ).
Repeat-By:
$ export LC_ALL=de_DE ; ls scons-[A-Z]*
scons-local-0.95.tar.gz
$ export LC_ALL=C ; ls scons-[A-Z]*
ls: scons-[A-Z]*: No such file or directory
Don't use character ranges when you're not in the C locale. Use
[:upper:] and [:lower:] instead.
Chet