bug-coreutils
[Top][All Lists]
Advanced

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

Re: Why not enhance "sort" to handle floating point numbers?


From: Philip Rowlands
Subject: Re: Why not enhance "sort" to handle floating point numbers?
Date: Sat, 8 Nov 2008 11:39:59 +0000 (GMT)
User-agent: Alpine 1.00 (DEB 882 2007-12-20)

On Fri, 7 Nov 2008, Steve Wald wrote:

It would be real handy if sort had an option analogous to -n which would
properly handle columns of exponential notation numbers, e.g.
-9.575e-08, or even if the -n option itself would detect and sort them.
Much of my data is mixed exponential and decimal notation.

You're in luck - sort's -g option does exactly this.


Cheers,
Phil




reply via email to

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