Gutierrez, Carlos Y. wrote: > Using RHL Fedora Core 3, 2.6.11 kernel: > > ls [a-z]* returns entries that begin with upper-case letters
This is almost certainly due use of a non-standard locale. For example in the en_US locale setting (e.g. LANG=en_US) the collating sequence of letters is aAbBcC...zZ and [a-z] matches [a-zA-X] in the C or POSIX locale. Try this: env LANG=C ls env LC_COLLATE=C ls See this reference: http://www.gnu.org/software/coreutils/faq/ Look for "Sort does not sort in normal order!" Bob _______________________________________________ Bug-coreutils mailing list [email protected] http://lists.gnu.org/mailman/listinfo/bug-coreutils
