Re: Problem with 'sort' command in Mac OS X 10.4.10

Marc Aurele La France <[email protected]> Sun, 9 Sep 2007 17:21:46 -0600 (Mountain Daylight Time)
Newsgroups gmane.comp.xfree86.forum
Message-ID <Pine.WNT.4.64.0709091711050.1420@tsi>
On Thu, 30 Aug 2007, Mallika Veeramalai wrote:

> 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?

Yes.  `sort` is not part of any X implementation, so you posted this to the 
wrong list.

Marc.

+----------------------------------+----------------------------------+
|  Marc Aurele La France           |  work:   1-780-492-9310          |
|  Academic Information and        |  fax:    1-780-492-1729          |
|    Communications Technologies   |  email:  [email protected]         |
|  352 General Services Building   +----------------------------------+
|  University of Alberta           |                                  |
|  Edmonton, Alberta               |    Standard disclaimers apply    |
|  T6G 2H1                         |                                  |
|  CANADA                          |                                  |
+----------------------------------+----------------------------------+
XFree86 developer and VP.  ATI driver and X server internals.