On Sun, Feb 22, 2009 at 11:53:19PM +0100, Simone Piccardi wrote: > It's not only a reproducible behaviour of sort output, it concern also > results of range selection in the filename globbing, and in regular > expression. Just doing ls [A-Z]* has a totally different output when > given in an italian localization. > > So you must be aware that different languages have different > alphabetical ordering (and different format for dates and for decimal > number), and that just this can affect your results. So the use of > LANG=C can ensure that your scripts will give you the same results on > all environment.
And some scripts don't appreciate unicode either. I always find it odd that with a unicode locale set, gcc will use fancy unicode begining and end quotes rather than just ' or ". > Left for exercise is to explain why using LANG=C is a better choice than > LANG=it_IT (or any other one). -- Len Sorensen _______________________________________________ lpi-examdev mailing list [email protected] http://list.lpi.org/cgi-bin/mailman/listinfo/lpi-examdev
