bug-coreutils
[Top][All Lists]
Advanced

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

RE: Sort


From: mehran.shokouhi
Subject: RE: Sort
Date: Thu, 22 Feb 2007 11:19:21 +0200

Thanks a lot Matthew,

LC_ALL was not set on my computer,
I set it to 'c', and now it is working.

BR,
-- Mehran

-----Original Message-----
From: ext Matthew Woehlke [mailto:address@hidden 
Sent: Wednesday, February 21, 2007 7:41 PM
To: Shokouhi Mehran (Nokia-NET/Tehran)
Subject: RE: Sort

...and telling *me* is not nearly as helpful as telling the list. It WFM
over here. Did you check your locale settings like I suggested?

--
Matthew

-----Original Message-----
From: address@hidden [mailto:address@hidden
Sent: Wednesday, February 21, 2007 09:42
To: address@hidden
Subject: RE: Sort


Hi,

My file (x) contains:

104   4
10    5

I run
        cat x | sort 

I expect to get (' ' < '4')

10   5
104  4

But I get 

104  4
10   5

Please note that I want to sort them alphabetically, not numerically.
I tried 'sort -k1,1' and it worked.

BR,
-- Mehran
 

-----Original Message-----
From: ext Matthew Woehlke [mailto:address@hidden
Sent: Wednesday, February 21, 2007 2:36 AM
Cc: Shokouhi Mehran (Nokia-NET/Tehran)
Subject: Re: Sort

address@hidden wrote:
> I tried to sort a small file containing the following 2 rows using 
> "cat x | sort"
> 
> 104  4
> 10    5
> 
> But it doesn't work.

That's not a very helpful bug report. What do you get? What did you
expect to get? And did you check your locale settings? ('man sort' talks
about this...)

--
Matthew
"Do you do windows as well?"
"Only when I'm forced to deal with Microsoft..."
   -- from a story by Feech




reply via email to

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