[Top][All Lists]

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

filename expansion with [a-z] matches upper case

From: root
Subject: filename expansion with [a-z] matches upper case
Date: Fri, 30 Mar 2007 13:41:54 -0800

Configuration Information [Automatically generated, do not change]:
Machine: i386
OS: linux-gnu
Compiler: i386-redhat-linux-gcc
Compilation CFLAGS:  -DPROGRAM='bash' -DCONF_HOSTTYPE='i386' 
-DCONF_OSTYPE='linux-gnu' -DCONF_MACHTYPE='i386-redhat-linux-gnu' 
-DCONF_VENDOR='redhat' -DLOCALEDIR='/usr/share/locale' -DPACKAGE='bash' -DSHELL 
-DHAVE_CONFIG_H  -I.  -I. -I./include -I./lib  -D_GNU_SOURCE 
-fexceptions -m32 -march=i386 -mtune=pentium4 -fasynchronous-unwind-tables
uname output: Linux mail.samco.com 2.6.11-1.1369_FC4smp #1 SMP Thu Jun 2 
23:08:39 EDT 2005 i686 i686 i386 GNU/Linux
Machine Type: i386-redhat-linux-gnu

Bash Version: 3.0
Patch Level: 16
Release Status: release

        The expansion of the filename pattern "*.[a-z]* matches files with
        upper case after the period, not just lower case, even though the 
        "nocaseglob" is set to off, when the LANG variable is set to

        date >test.abc
        date >test.ABC
        ls *.[a-z]*
        echo *.[a-z]*

        LANG=; export LANG

reply via email to

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