[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Did I find a Bug in /bin/ls or in bash?
From: |
Eric Blake |
Subject: |
Re: Did I find a Bug in /bin/ls or in bash? |
Date: |
Tue, 06 Feb 2007 23:05:31 -0700 |
User-agent: |
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.9) Gecko/20061207 Thunderbird/1.5.0.9 Mnenhy/0.7.4.666 |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
According to Robert K. Nelson on 2/6/2007 7:51 AM:
> I am running SuSE 10.2. When I type the command:
>
> /bin/ls [A-B]*
>
> it lists all files starting with "b" but none starting with "a".
This is not a bug, but is due to your choice of locale, and its choice of
collating sequences. Try exporting LC_ALL=C to see the difference.
> coreutils-6.4-10
> bash-3.1-55
Consider upgrading. coreutils is at 6.7, and bash at 3.2.
- --
Don't work too hard, make some time for fun as well!
Eric Blake ebb9@byu.net
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFFyWwr84KuGfSFAYARAtVsAKCQ0BCV0vb1N1uzWoVOSIoYgTBt7ACfcqQU
uo6FP4q3CaI6GrBt2iuB0Hg=
=uW+0
-----END PGP SIGNATURE-----