Hi, 

Gnu sort (version 2.0 by Mike Haertel) does not have the ability to sort
the key '-', it appears to skip over it whenever it appears in the input
regardless of command line options.   This differs from other versions of
sort where treating all keys as valid is the default behaviour which can
be turned off using say -d.

For example, I want to sort the file:
        -NONE-
        *
        NNS

Using gnu sort I get
        *
        NNS
        -NONE-

Whereas using Sun's sort I get the correct output:
        *
        -NONE-
        NNS

This is significant because it means sort's behaviour is not compatable
with strcmp.

--
Corrin Lakeland <[EMAIL PROTECTED]>
Department of Computer Science 
University of Otago, New Zealand

Reply via email to