Red Hat Bugzilla – Bug 591583
weird bash behaviour in F13 with wildcards
Last modified: 2014-01-12 19:11:42 EST
Description of problem:
the F13 bash seems to behave incorrect:
If you have only the files a,B and z in some directory (not more), then
the command "echo [a-z]" only should echo the text "a z"
But the bash in F13 echoes the text: "a B z".
Can this behavior depend on environment variables?
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1.mkdir x;cd x;touch a B z
a B z
1. Usage of zsh instead echoes "a z" (as expected).
2. Weird: Downloading bash-3.2.tar.gz from gnu.org and installing this bash
shows the same wrong behaviour.
3. Using zsh instead of bash in F13 echoes "a z" and not "a B z". That is
4. I checked this in earlier Fedoras, there the behaviour is correct (as
described: echoes "a z").
Sorry, I forget to set LC_ALL=C in the environment. With this, "a z" is echoed as expected (thanks to Eric Blake).