[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#6791: Problem(bug?) with basic sort command in Linux

From: Eric Blake
Subject: bug#6791: Problem(bug?) with basic sort command in Linux
Date: Tue, 03 Aug 2010 15:10:25 -0600
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv: Gecko/20100720 Fedora/3.1.1-1.fc13 Lightning/1.0b2pre Mnenhy/0.8.3 Thunderbird/3.1.1

merge 6790 6791
tag 6790 + notabug
close 6790

On 08/03/2010 02:26 PM, George Thomas Irimben (georgeti) wrote:
> Hi,
> Setting LC_ALL to C fixed the issue. 
> But before setting this to C, with same .cshrc file, Unix didn't give me
> a problem.

That just means that you have a different default locale on your Unix
box than you do on the box where you encountered the difference.

> Does it mean my shell script which has this sort command will not work
> for others unless they set their LC_ALL?
> Should I set this to C in my script itself? 

In general, it is a good idea, if you don't want locale differences to
impact the behavior of your script.

This is not a bug in sort, and it is a FAQ:

Eric Blake   address@hidden    +1-801-349-2682
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature

reply via email to

[Prev in Thread] Current Thread [Next in Thread]