/bin/sort bug

Doug Campbell dougc at tekecs.UUCP
Thu Sep 1 02:57:37 AEST 1983


If you specify the sort to be performed on only one field
you cannot specify a specific ordering for the other unsorted
fields.  The ordering for the unsorted fields is nondeterministic.
Therefore, I do not agree that sort should be producing the
"expected result" you posted.  (Various sorting algorithms will
produce diferent results in the unsorted fields.)


I do not feel this is a bug in /bin/sort.  If you really need
the "expected result" you posted, you should not be using
/bin/sort.

Doug Campbell



More information about the Comp.unix.wizards mailing list