[forum] Problem with 'sort' command in Mac OS X 10.4.10

Mallika Veeramalai forum@xfree86.org
Thu, 30 Aug 2007 16:19:38 -0700


------=_Part_5331_26951081.1188515978920
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

 Dear All,

I find it there are some problem in using the 'sort' command to sort a
data-file, in Mac OS X 10.4.10

For eg:

The command 'sort -g -k 1 t.txt' gives the following result. (actually I am
doing a generic sort based on column 1)

1.46e-01 N
1.46e-13 H
1.53e-11 H
1.54e-03 H

The correct answer should be:

1.46e-13 H
1.53e-11 H
1.54e-03 H
1.46e-01 N

I think this 'sort' problem exist in every where, even when we use the 'ls
-trl' command.

Any comments?

Thanks in advance,
kaaviyam

------=_Part_5331_26951081.1188515978920
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline


        Dear All,<br>
<br>
I find it there are some problem in using the &#39;sort&#39; command to sort a data-file, in Mac OS X 10.4.10<br>
<br>
For eg:<br>
<br>
The command &#39;sort -g -k 1 t.txt&#39; gives the following result. (actually I am doing a generic sort based on column 1)<br>
<br>
1.46e-01        N<br>
1.46e-13        H<br>
1.53e-11        H<br>
1.54e-03        H<br>
<br>
The correct answer should be:<br>
<br>
1.46e-13        H<br>
1.53e-11        H<br>
1.54e-03        H<br>
1.46e-01        N<br>
<br>
I think this &#39;sort&#39; problem exist in every where, even when we use  the &#39;ls -trl&#39; command.<br>
<br>
Any comments?
        <br><br>Thanks in advance,<br>kaaviyam<br>

------=_Part_5331_26951081.1188515978920--