On Fri, Jun 03, 2011 at 12:06:32AM -0700, Marcel (Felix) Giannelia wrote: > Is it really a programmer mistake, though, to assume that [A-Z] is only > capital letters?
Yes, it is. You should be using [[:upper:]], or you should be setting LC_COLLATE=C if you insist on using [A-Z].