Re: nocaseglob doesn't always work as expected.

2010-10-04 Thread Bob Proulx
Alexey Vinogradov wrote: > ale...@ubuntu64:/tmp$ shopt -u nocaseglob; shopt -s nullglob; for a in > [B-C]* ; do echo $a; done Since you do not mention your locale setting I assume that you are not aware of how it affects ranges. Here if your locale setting uses dictionary sort ordering then [B-C]

Re: nocaseglob doesn't always work as expected.

2010-10-04 Thread Greg Wooledge
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 begi