bug-bash
[Top][All Lists]
Advanced

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

Re: globbing is always case insensitive


From: Ian Macdonald
Subject: Re: globbing is always case insensitive
Date: Tue, 7 May 2002 17:39:39 -0700
User-agent: Mutt/1.3.28i

On Tue 07 May 2002 at 16:20:40 -0700, you wrote:

> Configuration Information [Automatically generated, do not change]:
> Machine: i386
> OS: linux-gnu
> Compiler: gcc
> Compilation CFLAGS:  -DPROGRAM='bash' -DCONF_HOSTTYPE='i386' 
> -DCONF_OSTYPE='linux-gnu' -DCONF_MACHTYPE='i386-redhat-linux-gnu' 
> -DCONF_VENDOR='redhat' -DSHELL -DHAVE_CONFIG_H  -D_GNU_SOURCE 
> -D_FILE_OFFSET_BITS=64  -I.  -I. -I./include -I./lib -I/usr/include -O2 
> -march=i386 -mcpu=i686
> uname output: Linux jmayer.homelinux.net 2.4.17 #3 Fri Apr 19 23:06:53 PDT 
> 2002 i586 unknown
> Machine Type: i386-redhat-linux-gnu
> 
> Bash Version: 2.05
> Patch Level: 8
> Release Status: release
> 
> Description:
>       I've performed "setopt -u nocaseglob", but globbing is still
>       case-insensitive.
> 
> Repeat-By:
>       The following commands return the same set of files:
>               ls ?????[a-z]*
>               ls ?????[A-Z]*

Check your locale. It could be that your chosen sorting order
encompasses both sets.

What does 'ls ?????[:upper:]*' give?

Ian
-- 
Ian Macdonald               | America has been discovered before, but it 
ian@caliban.org             | has always been hushed up. - Oscar Wilde 
                            | 
                            | 
                            | 



reply via email to

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