On Wed, 15 Jun 2011, Nico Kadel-Garcia wrote:
On Tue, Jun 14, 2011 at 4:43 PM, Chetan Tiwari <[email protected]> wrote:
Hi Valery,
My LANG was set to en_US.utf8. I changed it to C as you suggested and that
worked! Thanks much for that tip.
Best regards,
Chetan
Yeah, "LANG" is messing with a lot of programs that used to work well.
It's worse with the "sort" utility. en_US.utf8 is case insensitive,
and there is no way to restore proper case sensitivity to ordering
except to set LANG to something sane, like 'C' or 'POSIX'.
setting LC_COLLATE is sufficient for sorting, so you can have
don't have to give up the other bits of your locale.
--
Dr. Andrew C. Aitchison Computer Officer, DPMMS, Cambridge
[email protected] http://www.dpmms.cam.ac.uk/~werdna