Fozzeebear
Technical User
I have a text file containing a list with four fields. I would like to sort numerically by the fourth field, so I am using:
sort +3n -n input > output.
My problem is that the fourth field actually contains numbers with exponents i.e 2.5e-05, and sort is only ordering things by the number before the decimal point. It is ignoring the exponent. Is it possible to sort things in the way I would like?
Any help will be much appreciated...
sort +3n -n input > output.
My problem is that the fourth field actually contains numbers with exponents i.e 2.5e-05, and sort is only ordering things by the number before the decimal point. It is ignoring the exponent. Is it possible to sort things in the way I would like?
Any help will be much appreciated...