I should mention that the behavior of Solaris 2.6 /usr/xpg4/bin/sort
has to be taken with a grain of salt, as it has several bugs in this
area (most likely because it isn't commonly used). For example:
$ cat t1
y b
x a
$ /usr/xpg4/bin/sort -c -k 2 t1
$ /usr/bin/sort -c -k 2 t1
sort: disorder: x a
$ sort -c -k 2 t1
sort: t1:2: disorder: x a
$ sort --version | sed 1q
sort (coreutils) 4.5.11
Clearly /usr/xpg4/bin/sort is wrong here.
_______________________________________________
Bug-coreutils mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/bug-coreutils