seren...@exscape.org wrote: > Bash Version: 4.0 > Patch Level: 17 > Release Status: release > > Description: > When using [a-*] globbing options, the very last UPPERCASE letter is > not matched, however all other ones are. > > Repeat-By: > mkdir test; cd test; for LETTER in {a..f}; do touch $LETTER; done > ls -1 [a-f]* | wc -l # returns 6, as expected > for LETTER in {A..F}; do touch $LETTER; done > ls -1 [a-f]* | wc -l # returns 11! If we return the wc pipe, we can see > that the output is "a A b B ... e E f" without the capital F.
Please read the Bash FAQ, question E9. -- ``The lyf so short, the craft so long to lerne.'' - Chaucer Chet Ramey, ITS, CWRU c...@case.edu http://cnswww.cns.cwru.edu/~chet/