Description of Problem: "ls [M-N]" should list only file "M" and "N" if they exist, not "m" or "n" Version-Release number of selected component (if applicable): bash-2.05a-14.i386.rpm How Reproducible: 100% Steps to Reproduce: 1. touch m M n 2. ls [M-N] 3. Actual Results: M n Expected Results: M Additional Information: Problem does not exist in bash-2.05a-13 from Redhat-7.3
This is the correct result. Bash is i18n aware these days. If you don't like it, use LC_COLLATE=C
I think that LC_COLLATE=C should be the default so that the behavior of shell scripts and Makefiles don't suddenly change.
LC_COLLATE=C does restore reasonable behavior, but I can't see the logic of the new changed collate sequence. It still looks like a bug to me. In the example: touch m M n ls [M-N] why is "M" listed but not "m"