in reply to Re^2: Difference in sort order between Solaris and Linux
in thread Difference in sort order between Solaris and Linux

Hi, Ok, just tried that. There's no difference in the outcome. To make sure I also double checked that the locale settings in the shell are set to the right iso8859 value.
  • Comment on Re^3: Difference in sort order between Solaris and Linux

Replies are listed 'Best First'.
Re^4: Difference in sort order between Solaris and Linux
by McA (Priest) on Mar 05, 2014 at 14:50 UTC

    Now it would be interesting to see whether the commandline sort behaves similar. Put the words in a file per line and do a LANG=C sort file on both machines.

    McA

      Hi,

      Interesting test indeed. The result is exactly the same as it is when using Perl. So I expect one of the two OS-es not playing nicely with the standards.

        Hmm, so it seems that the sorting order of the C locale is different. That is weird. But gives you the chance to search in Google for sorting differences between Linux and Solaris independent of Perl. ;-)

        I would look at the bunch of environment variables whether there are some which have higher precedence so that the tests done so far pointed us into the wrong direction.

        The best for your research
        McA