SCIENTIFIC-LINUX-USERS Archives

June 2011

SCIENTIFIC-LINUX-USERS@LISTSERV.FNAL.GOV

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Dr Andrew C Aitchison <[log in to unmask]>
Reply To:
Dr Andrew C Aitchison <[log in to unmask]>
Date:
Wed, 15 Jun 2011 17:18:59 +0100
Content-Type:
TEXT/PLAIN
Parts/Attachments:
TEXT/PLAIN (24 lines)
On Wed, 15 Jun 2011, Nico Kadel-Garcia wrote:

> On Tue, Jun 14, 2011 at 4:43 PM, Chetan Tiwari <[log in to unmask]> 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
[log in to unmask]	http://www.dpmms.cam.ac.uk/~werdna

ATOM RSS1 RSS2