On Mon, Oct 04, 2010 at 08:14:32PM +0700, Alexey Vinogradov wrote: > ale...@ubuntu64:/tmp$ shopt -u nocaseglob; shopt -s nullglob; for a in > [B-C]* ; do echo $a; done > > But the range search here is thow out only non-capital "bigstore" from the > listing, and still included both-cased files begin with c/C.
Locale issue. You're using a locale that isn't C or POSIX, and in your locale, there are characters between "B" and "C", and some of them are probably lowercase. http://mywiki.wooledge.org/locale for background info.