bug-textutils
[Top][All Lists]
Advanced

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

Re: bug in sort, or confusion on my part


From: Jim Meyering
Subject: Re: bug in sort, or confusion on my part
Date: 23 Jun 2001 12:54:56 +0200
User-agent: Gnus/5.090003 (Oort Gnus v0.03) Emacs/21.0.104

Greg Lindahl <address@hidden> wrote:

| bash$ more example
| 109 bar
| 111 b
| 111 a
| 1 10
| 9 foo
| bash$ sort -k 1,1rn -k 2,2 example
| 111 a
| 111 b
| 1 10
| 109 bar
| 9 foo
|
| It seems that the "n" is making sort ignore the separator, so it sorts
| "1 10" as if it were the number 110. That doesn't seem to correspond
| to the "info" page. It's OK without the "n".

Thanks for the report.

That is due to a bug in some Redhat-specific changes.
There has never been such a problem in the GNU releases.
FYI, here's the latest test release:

  ftp://alpha.gnu.org/gnu/fetish/

I've heard you can get an rpm with a fixed version.



reply via email to

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