----- Original Message ----- From: "Michael Fratoni" <mfratoni@xxxxxxxxxxxxxxxxx> To: <psyche-list@xxxxxxxxxx> Sent: Saturday, May 03, 2003 10:10 PM Subject: Re: bash 2.05b mystery > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > On Saturday 03 May 2003 08:31 pm, John Meagher wrote: > > Hello list, > > I was experimenting with bash 2.05b.0(1) on RH8 on 2 different > > machines and noticed the following on both: > > > > [root] # cd / > > [root] # echo [A-B]* > > bin boot > > > > Why does it find the lowercase names? I was expecting them only > > if I had executed > > > > echo [a-b]* > > > > > > However----- > > with bash 2.05a.0(1) on RH7.3 I get: > > > > [root] # cd / > > [root] # echo [A-B]* > > [A-B]* > > > > which looks right. > > > > It works as expected with 2.05a and with tcsh, which returns > > "echo: No match" in response to echo [A-B]* > > It is a change in the default sort order. > > [root@xxxxxx /]# echo [A-B]* > bin boot > [root@xxxxxx /]# export LC_COLLATE="C" > [root@xxxxxx /]# echo [A-B]* > [A-B]* > [root@xxxxxx /]# unset LC_COLLATE > [root@xxxxxx /]# echo [A-B]* > bin boot > > I prefer the old sorting, so I added a line to /etc/sysconfig/i18n: > echo 'LC_COLLATE="C"' >> /etc/sysconfig/i18n > > - -- > - -Michael YES! Thank you, Michael! -- Psyche-list mailing list Psyche-list@xxxxxxxxxx https://listman.redhat.com/mailman/listinfo/psyche-list