bug-coreutils
[Top][All Lists]
Advanced

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

Re: Report the bug of sort command


From: Kamil Dudka
Subject: Re: Report the bug of sort command
Date: Fri, 10 Apr 2009 15:08:54 +0200
User-agent: KMail/1.9.7

On Friday 10 of April 2009 09:18:51 qiwensheng wrote:
> Dear Sir or Madam:
>
> I made a file named words.txt.  And it's content as follow:
>
>
>
> But I use the "sort -r " command line (sort  -r  words.txt ) for this file,
> and it displays as follow:
>
>
>
> So, the result of it does not all reverse the original file in fact.
>
> Can you give me an explanation of this phenomenon?

Result of "sort -r" is not reversed original file, but the original file 
sorted in reverse order. The original file is not sorted, that's it! If the 
original file was already sorted, it would return it in reverse order.


Kamil




reply via email to

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