[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[a-f]* style globbing broken
From: |
serenity |
Subject: |
[a-f]* style globbing broken |
Date: |
Wed, 15 Apr 2009 10:52:07 +0200 (CEST) |
Configuration Information [Automatically generated, do not change]:
Machine: x86_64
OS: linux-gnu
Compiler: x86_64-pc-linux-gnu-gcc
Compilation CFLAGS: -DPROGRAM='bash' -DCONF_HOSTTYPE='x86_64'
-DCONF_OSTYPE='linux-gnu' -DCONF_MACHTYPE='x86_64-pc-linux-gnu'
-DCONF_VENDOR='pc' -DLOCALEDIR='/usr/share/locale' -DPACKAGE='bash' -DSHELL
-DHAVE_CONFIG_H -I. -I. -I./include -I./lib
-DDEFAULT_PATH_VALUE='/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin'
-DSTANDARD_UTILS_PATH='/bin:/usr/bin:/sbin:/usr/sbin'
-DSYS_BASHRC='/etc/bash/bashrc' -DSYS_BASH_LOGOUT='/etc/bash/bash_logout'
-DNON_INTERACTIVE_LOGIN_SHELLS -DSSH_SOURCE_BASHRC -O2 -pipe -mtune=nocona
uname output: Linux exscape.org 2.6.28-gentoo #2 SMP Sun Apr 5 18:28:35 CEST
2009 x86_64 Intel(R) Pentium(R) Dual CPU E2200 @ 2.20GHz GenuineIntel GNU/Linux
Machine Type: x86_64-pc-linux-gnu
Bash Version: 4.0
Patch Level: 17
Release Status: release
Description:
When using [a-*] globbing options, the very last UPPERCASE letter is
not matched, however all other ones are.
Repeat-By:
mkdir test; cd test; for LETTER in {a..f}; do touch $LETTER; done
ls -1 [a-f]* | wc -l # returns 6, as expected
for LETTER in {A..F}; do touch $LETTER; done
ls -1 [a-f]* | wc -l # returns 11! If we return the wc pipe, we can see
that the output is "a A b B ... e E f" without the capital F.
- [a-f]* style globbing broken,
serenity <=