From Bugzilla Helper: User-Agent: Mozilla/4.78 [en] (X11; U; Linux 2.4.9-13 i686) Description of problem: If you do a "rm -fr [a-z]*" all files including those begining with capital letters are deleted !!! Version-Release number of selected component (if applicable): How reproducible: Always Steps to Reproduce: 1. touch a b B c 2. ls [a-z]* 3. Actual Results: a b B c Expected Results: a b c Additional info:
Sure - that's the intended behavior if you're using a case insensitive locale (which is basically anything other than C). If you don't like it, set LC_COLLATE=C in /etc/sysconfig/i18n
Wow this seems like a retrograde step. Bash is largely used as a systems programming language as well as a user command shell and one that could be relied upon across all Unix systems back to the dawn time time (1970ish !) Now a common feature that was used is shell scripts to distinquish between upper case and lowercase file name sets has been broken. I found this new feature ? when using an XFree86 script which deleted the entire file tree!
*** Bug 59038 has been marked as a duplicate of this bug. ***
*** Bug 59028 has been marked as a duplicate of this bug. ***