bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

problem with pathname expansion


From: vollitwr .
Subject: problem with pathname expansion
Date: Wed, 25 Dec 2013 18:41:17 +0400

Configuration Information [Automatically generated, do not change]:
Machine: x86_64
OS: linux-gnu
Compiler: 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../bash -I../bash/include
-I../bash/lib  -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector
--param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall
uname output: Linux my2 3.2.0-4-amd64 #1 SMP Debian 3.2.51-1 x86_64 GNU/Linux
Machine Type: x86_64-pc-linux-gnu

Bash Version: 4.2
Patch Level: 37
Release Status: release

Description:
The patterns [A-C] and [ABC] work different!  [A-C] ignores case and
[ABC] does not.
It is true for any such kind of patterns, e.g., [w-z] vs [wxyz].
This bug reveals itself with many systems: OpenSuse 12, Mandriva 2010
(32 bits), Debian 7.1, ...

Repeat-By:
Try 'echo [ABC]*' and 'echo [A-C]*'.  For example, the first command may show
'Axe' but second may also show 'axe'.

Fix:
[Description of how to fix the problem.  If you don't know a
fix for the problem, don't include this section.]



reply via email to

[Prev in Thread] Current Thread [Next in Thread]