bug-coreutils
[Top][All Lists]
Advanced

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

Using SORT on Linux


From: Oshea, Richard
Subject: Using SORT on Linux
Date: Mon, 20 Mar 2006 16:52:01 -0500

Not sure if this is a bug or a problem with the way my environment it setup - 
or the way I'm using sort 
- But...
Given the following data in a file, the sort command does not produce the 
correct output.
I have even tried setting the LC_ALL as suggested in the sort --help  (set 
LC_ALL=C)

AG        1
AG2       3
AG2       2
AG3       4
AG        4
AG3       3
AG4       5
AG4       6

The results are

AG        1
AG2       2
AG2       3
AG3       3
AG3       4
AG        4
AG4       5
AG4       6


I would expect the output to be more like ...

AG        1
AG        4
AG2       2
AG2       3
AG3       3
AG3       4
AG4       5
AG4       6

Any suggestions would be appreciated.


Thanks,

Dick O'Shea
Credit Suisse

==============================================================================
Please access the attached hyperlink for an important electronic communications 
disclaimer: 

http://www.credit-suisse.com/legal/en/disclaimer_email_ib.html
==============================================================================





reply via email to

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