bug-textutils
[Top][All Lists]
Advanced

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

Re: numerical sort


From: Jim Meyering
Subject: Re: numerical sort
Date: Mon, 28 Jan 2002 09:21:59 +0100
User-agent: Gnus/5.090004 (Oort Gnus v0.04) Emacs/21.2.50 (i686-pc-linux-gnu)

Gerhard Heinzel <address@hidden> wrote:
> I fail to sort a simple ASCII file
> that contains two columns of numbers
> into proper numerical order (first column)
> with gnu sort version 2.0.10:
>
> Here is what happens with "sort -n":
> -60.6304 -126.723
> -6.00392 -104.131
> -59.6326 -126.578

Thanks for the report, but I can't reproduce the above problem.
Using sort -n works for me with the latest test release: 2.0.20
  ftp://alpha.gnu.org/gnu/fetish/textutils-2.0.20.tar.gz

Using -d isn't very useful when sorting numbers.

> Here is what happens with "sort -d":
> -0.05 -0.00784905
...



reply via email to

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