bug-coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Reg. 'sort' problem in Mac OS X


From: Mallika Veeramalai
Subject: Reg. 'sort' problem in Mac OS X
Date: Thu, 30 Aug 2007 17:17:00 -0700
User-agent: Microsoft-Entourage/11.3.6.070618


I find it there are some problem in using the 'sort' command to sort a
data-file, in Mac OS X 10.4.10.  This 'sort' command distributed through
Coreutils - GNU core utilities.

For eg:

The command 'sort -g -k 1 t.txt' gives the following result.

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

There is no '-g' option Mac OS X.10.4.10
 -g, --general-numeric-sort
        compare according to general numerical value


The correct answer should be and it is working fine in Mac OS X 10.4.2 and
in Linux:

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' to list the file in a dir - mainly because many sort options not
included in the Mac OS X 10.4.10 version.

Any comments?

Thanks in advance,
____________________________________________________________________________
    Mallika Veeramalai, Ph.D.,
    Postdoctoral Associate,
    Bioinformatics & Systems Biology,
    Burnham Institute for Medical Research,
    La Jolla,  CA 92037, USA.
    phone : +1 858 646 3100 ext: 3627
    Fax   : +1 858 795 5249
    Web   : http://bioinformatics.burnham.org/~mallika/
    Email : address@hidden (or) address@hidden
____________________________________________________________________________









reply via email to

[Prev in Thread] Current Thread [Next in Thread]