Red Hat Bugzilla – Bug 5980
tcsh does not work correctly with patterns
Last modified: 2008-05-01 11:37:52 EDT
Found a bug in tcsh:
Example: (typed in a running tcsh)
pc-9:~ mkdir t
pc-9:~ cd t
pc-9:~/t touch A B c
pc-9:~/t echo [A-Z]*
A B c
[zut@pc-9 t]$ echo [A-Z]*
sh parses the patterns correctly, tcsh works wrong !
I think this is a serious bug having to due with glibc and locale.
With LC_ALL=en_US, this bug always happens for me in 6.1. With LC_ALL
undefined and LC_COLLATE=C, it works fine.
This bug is going to break a lot of scripts!
*** This bug has been marked as a duplicate of 6000 ***