Bruce Korb wrote: > This cannot have been overseen, so perhaps I am not understanding > how "nocaseglob" is supposed to work:
I think you have the nocaseglob right. I think this is a variable set but not exported problem. Just guessing though. > $ bash --version > GNU bash, version 3.1.17(1)-release (i586-suse-linux) Same as here on my Debian system: echo $BASH_VERSION 3.1.17(1)-release > $ shopt|fgrep caseglob > nocaseglob off Looks okay. Same here. > $ echo tpdsrc/umod/nodesvr/test/[a-z]* > tpdsrc/umod/nodesvr/test/Makefile tpdsrc/umod/nodesvr/test/SCCS > tpdsrc/umod/node > > What are the "Makefile" and "SCCS" entries doing on the line? That does look odd. I have a guess as to the problem. > And, yes, I know there are some language environments that say > to ignore case (completely wrong-headed decisions, but nevertheless): > > $ env|egrep 'LC|LANG' > $ Try this to see if the variable is set but not exported. set|egrep 'LC|LANG' Here is my test case: + mkdir /tmp/test-set-export + cd /tmp/test-set-export + touch abc DEF + unset LANG LC_COLLATE + echo abc abc + LC_COLLATE=en_US.UTF-8 + echo abc DEF abc DEF + env + egrep 'LC|LANG' LANGUAGE=en_US:en_GB:en + set + egrep 'LC|LANG' LANGUAGE=en_US:en_GB:en LC_COLLATE=en_US.UTF-8 I hope that is your problem. A set but not exported LC_COLLATE variable. Definitely easy to miss. Bob _______________________________________________ Bug-bash mailing list Bug-bash@gnu.org http://lists.gnu.org/mailman/listinfo/bug-bash