Red Hat Bugzilla – Bug 77115
Wrong file globbing behavior
Last modified: 2008-05-01 11:38:04 EDT
Description of Problem:
If I do a
$ ls [a-z]*
to get all filename beginning with a lowercase letter it also shows
files beginning with uppercase letters
Version-Release number of selected component (if applicable):
[jan@torgau jan]$ bash --version
GNU bash, version 2.05b.0(1)-release (i686-pc-linux-gnu)
Copyright (C) 2002 Free Software Foundation, Inc.
Steps to Reproduce:
1. ls [a-z]*
I just checked it as "root" user.
There it works as expected.
I think this is expected behavior.
Try setting LC_COLLATE=C and then retry.
The "LC_COLLATE=C" didn't change anything
You'll need to use bash-2.05-7 from rawhide for changes to have
To see the result without upgrading, do
LC_COLLATE=C bash -c 'ls [a-z]*'
*** This bug has been marked as a duplicate of 74701 ***
*** Bug 77339 has been marked as a duplicate of this bug. ***