On Tue, Jun 08, 2010 at 04:25:53PM +0200, Roman Rakus wrote: > In your locales lower letters are before capital letters, therefore > [a-z] does not include capital.
That's unlikely. More often, they're mixed together (AaÁáäBb....). > In C locales the sequence is capital letters and then lower letters (A B > Z a b z). Correct. > If you want all letters, lowers and capitals, you can use [a-zA-z] No, you must use [[:alpha:]]. You're trying to second guess the order of every non-C locale on every system, and that's a recipe for disaster. (I had totally forgotten about [[:upper:]] in my previous reponse in this thread. That would be another solution: ls [[:upper:]]* .)