Alan Mackenzie wrote: > Ah. I've got $LANG set to en_GB. Who did this? How dare they! > OK, I did this myself, somehow, presumably during installation of > Debian Sarge.
On Debian: sudo dpkg-reconfigure locales > Why didn't "they" tell me I was messing up my shell? Why do I feel > so stupid? (OK, don't answer that one!) :-) You might also want to look at this (now old and in need of updating but applies here perfectly) FAQ for coreutils. http://www.gnu.org/software/coreutils/faq/#Sort-does-not-sort-in-normal-order_0021 > More to the point, where are these variables (LANG, > LC_{ALL,COLLATE,CTYPE,MESSAGES,NUMERIC} documented? They're > mentioned skimpily in the bash man page, but where are they fully > documented? What is a "locale category"? What set of values can > these variables take? _How_ are they "used"? For documentation I would start here at the standards docs: http://www.opengroup.org/onlinepubs/009695399/basedefs/xbd_chap08.html#tag_08_02 Bob