range [A-Z] bug

2006-06-16 Thread Toby Kelsey
I discovered that the range pattern '[A-Z]*' matches the filename 'test' but not 'atest', which appears to be a bug. This is with bash version "3.00.16(1)-release" and locale "en_GB.UTF-8". The range appears to match any lowercase letter except for 'a': ~> cd /tmp /tmp> mkdir q /tmp> cd q /tmp/

Re: range [A-Z] bug

2006-06-16 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to Toby Kelsey on 6/16/2006 6:02 AM: > I discovered that the range pattern '[A-Z]*' matches the filename 'test' > but not > 'atest', which appears to be a bug. Not a bug, but your setting of locales. Try repeating the test when LC_ALL=C is