sort -n

Apua Paquola <[email protected]>
Newsgroups gmane.comp.gnu.textutils.bugs
Message-ID <[email protected]>
I don't know if it is a bug or a request for a new feature but sort -n
doesn't take into account floating foint values in scientific
notation. (See sort output below).

Thanks,
Apuã

$ sort (GNU textutils) 2.0
Written by Mike Haertel.

Copyright (C) 1999 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.


$ sort -n < file
8.02503237684515
8.14014069979627
8.18363723886096e-05
8.18363723886096e-05
8.31689391420718
8.76345959600836
10.3756092554339

--
Apuã Paquola
Bioinformatics Group
Biochemistry Department, University of São Paulo
http://bioinfo.iq.usp.br
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.