[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
range [A-Z] bug
From: |
Toby Kelsey |
Subject: |
range [A-Z] bug |
Date: |
Fri, 16 Jun 2006 13:02:21 +0100 |
User-agent: |
Mozilla Thunderbird 1.0.8 (X11/20060502) |
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/q> touch a b c d e f g h i j k l m n o p q r s t u v w x y z
/tmp/q> echo [A-Z]
b c d e f g h i j k l m n o p q r s t u v w x y z
/tmp/q> echo *
a b c d e f g h i j k l m n o p q r s t u v w x y z
Toby
- range [A-Z] bug,
Toby Kelsey <=