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

2008-11-08 Thread Philip Rowlands

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


___
Bug-coreutils mailing list
Bug-coreutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-coreutils


Why not enhance sort to handle floating point numbers?

2008-11-07 Thread Steve Wald
Hi.

 

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.

 

Steve Wald

[EMAIL PROTECTED]

208 321-2441

 

___
Bug-coreutils mailing list
Bug-coreutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-coreutils