From Bugzilla Helper: User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.2.1) Gecko/20010901 Description of problem: I am astonished. Globbing has been broken. Good trick. Version-Release number of selected component (if applicable): bash-2.05-8 glibc-2.2.4-19.3 How reproducible: Always Steps to Reproduce: 1.touch B 2.echo [a-c]* 3.See B in the list. 4.Marvel at the lossage. Actual Results: redhat 81 % touch B redhat 82 % echo [a-c]* B redhat 83 % Expected Results: [a-c] should not match B. In my test, the output should be empty. Additional info:
That's because bash is locale aware and you're using a case insensitive locale. If you don't like it, export LC_COLLATE=C If you want to get rid of it permanently, add LC_COLLATE=C to /etc/sysconfig/i18n.