[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: bin/37860: sort -n sorts 0 after 0.1
The following reply was made to PR bin/37860; it has been noted by GNATS.
From: Alan Barrett <apb%cequrux.com@localhost>
Subject: Re: bin/37860: sort -n sorts 0 after 0.1
Date: Fri, 25 Jan 2008 11:20:49 +0200
On Thu, 24 Jan 2008, Alexander Becher wrote:
> Sorting lines that contain only numbers between 0 and 1 with the -n
> option leads lines that contain only "0" to be sorted after lines that
> start with "0.0". Obviously, 0.01 < 0 < 0.2 is wrong, but that's the
> resulting sort order.
Please try the patch in PR 30504. I really should commit that some
--apb (Alan Barrett)
Main Index |
Thread Index |