Sorting Scientific Number With Unix Sort

Posted by neversaint on Stack Overflow See other posts from Stack Overflow or by neversaint
Published on 2010-04-15T02:17:28Z Indexed on 2010/04/15 2:23 UTC
Read the original article Hit count: 603

Filed under:
|
|
|

I tried to sort these number with Unix sort, but it doesn't seem to work:

    2e-13
    1e-91
    2e-13
    1e-104
    3e-19
    9e-99

This is my command:

sort -nr file.txt

What's the right way to do it?

© Stack Overflow or respective owner

Related posts about unix

Related posts about linux