/bin/sort program does not sort properly if -n switch is used.
If used without switches it seems to work fine. I haven't tried
I hope you will fix the bug soon. I have copied some older sort
which works OK.
Bero, I can duplicate this problem. Do we have a fix available yet?
This is the same as 10570 and 11104 I assume. (Marked resolved.)
Futher information on this problem - We have found that there is a patch in Red
Hat 6.2 that provides the '-l' flag. This seems to cause 'sort -n' to skip
sections of code and produce a bad sort if the '-l' flag is not actually used.
If it is used the program works OK. - Craig Martin
For me, adding -l to the arguments does not solve the problem.
Use LANG="C" sort if you don't like the POSIX sorting "feature".