i can reproduce this on 9.10, but can find no option (e.g. in
/etc/profile or /etc/bash*) which mucks with the wildcard expansion.

r...@jareth:/home/root# touch XYZ
r...@jareth:/home/root# ls [a-z]*
XYZ

i have often relied on case-sensitive wildcard matching over the years,
and am just appalled at this behaviour :(. (And still sick to my stomach
from the first 'rm'.)

Here is, for comparison, behaviour from one of the sourceforge shell
servers:


-bash-3.2$ ls
R    bin  libfunutil                 mycrontab  qub_icon.gif  sf_bookmarks.html 
 toc
ape  cm   libfunutil-cvsroot.tar.gz  qub        s11n          tmp               
 userweb
-bash-3.2$ ls -d [A-Z]*
R
-bash-3.2$ ls -d [a-z]*
ape  cm          libfunutil-cvsroot.tar.gz  qub           s11n               
tmp  userweb
bin  libfunutil  mycrontab                  qub_icon.gif  sf_bookmarks.html  toc
-bash-3.2$ uname -a
Linux shell-24007 2.6.18-164.2.1.el5.028stab066.10 #1 SMP Sat Dec 12 18:52:53 
MSK 2009 x86_64 x86_64 x86_64 GNU/Linux
-bash-3.2$ cat /etc/issue
CentOS release 5.4 (Final)
Kernel \r on an \m

-- 
bash always globs case-insensitively
https://bugs.launchpad.net/bugs/571958
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to