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


_______________________________________________
Bug-bash mailing list
Bug-bash@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-bash

Reply via email to