# This is a test of how the [A-Z] character range is # handled on this machine. Feed this script to your # favorite shell, and if it lists any of the files # other than the 3 named, [A-Z] is matching names # with a different capitalization. mkdir foo ; cd foo touch fbr0 Fbr1 fBr1 fbR1 FBr2 FbR2 fBR2 FBR3 ls -il *[A-Z][A-Z]* echo The list should show only FBR3, FBr2 and fBR2.