Bruce Korb wrote: > In the listings below, two programs are involved: "ls" and "bash". > I am inclined to believe that "bash" treats a missing LC_COLLATE > as "en_US" and "ls" treats it as "C". If there is such a thing as > an invisible (not in environment variables) "system default locale", > then "ls" is wrong, otherwise "bash" is wrong. One of the two has > to be wrong. > > (Just to be clear: bash is selecting files with "[a-z]*" and then > ls sorts them based on some collating sequence. The sorting > collating order should be identical to the selection order.) > > $ unset LC_COLLATE
If LC_COLLATE is unset, LC_ALL and LANG both affect the collating order. Chet -- ``The lyf so short, the craft so long to lerne.'' - Chaucer Live Strong. No day but today. Chet Ramey, ITS, CWRU [EMAIL PROTECTED] http://cnswww.cns.cwru.edu/~chet/ _______________________________________________ Bug-bash mailing list Bug-bash@gnu.org http://lists.gnu.org/mailman/listinfo/bug-bash