-----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 pgp key: http://www.tuxfan.homeip.net:8080/gpgkey.txt Red Hat Linux 7.{2,3}|8.0 in 8M of RAM: http://www.rule-project.org/ - -- -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.7 (GNU/Linux) iD8DBQE+tHaIn/07WoAb/SsRAty+AJsFyoIgBLQvz7wrO+D6hLUrvd+UiwCgjTz8 U5MNDicxmjoUDC9I0hhJNR0= =5yAH -----END PGP SIGNATURE----- -- Psyche-list mailing list Psyche-list@xxxxxxxxxx https://listman.redhat.com/mailman/listinfo/psyche-list