Am 15.06.2011 14:24, schrieb Nico Kadel-Garcia:
> 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'.

Well, with a natural language setting, sort actually sorts
alphabetically, not ASCII-betically. Therefore it is just as sane as
every dictionary or book index. You are right, though. Something like a
--bytes switch for enabling the old behavior would be nice.

Note that setting LANG is not enough. You need to set LC_ALL.

Regards,
Florian Philipp

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to