I tried sorting a file with a column of floating
point numbers (below) with sort(1) -n. However,
the numbers seem to have been sorted by the first
digit only.
TZAV cat numbers
3.895686170464136E-016
6.790214437463702E-003
4.163481430190832E-016
2.224131318975909E-002
4.024567914829249E-016
On Monday 03 October 2011 14:05:42 Anton Shterenlikht wrote:
I tried sorting a file with a column of floating
point numbers (below) with sort(1) -n. However,
the numbers seem to have been sorted by the first
digit only.
sort -g
Due to the GNU project's obsession with info