I'm using coreutils 8.5 on Solaris 10.

GNU 'sort' fails to sort some input, while Solaris 'sort' handles it
correctly:

willow% /opt/ts/gnu/bin/sort sort_test.txt 
/opt/ts/gnu/bin/sort: string comparison failed: Illegal byte sequence
/opt/ts/gnu/bin/sort: Set LC_ALL='C' to work around the problem.
/opt/ts/gnu/bin/sort: The strings compared were
`\360\222\203\276\360\222\205\226' and
`\360\222\200\255\360\222\213\253\360\222\213\253\360\222\200\255'.
willow% /usr/bin/sort sort_test.txt 
π’ƒΎπ’…–
π’€­π’‹«π’‹«π’€­
willow% 

I've attached the example file sort_test.txt.

        - river.
π’ƒΎπ’…–
π’€­π’‹«π’‹«π’€­

Reply via email to