Bobby L Morris <address@hidden> wrote:
> Since the Perl sort function works correctly, is it possible that
> the problem could be in the way the sort command interacts
> with the LANG environment instead of the LANG environment
> itself ? With Perl I did not have to change LANG;
Perl's sort simply ignores LANG. coreutils' sort doesn't; it behaves
differently depending on LANG, as intended. So you'll have to set
LANG=C if you want coreutils' sort to produce the same results as
Perl. You could do this in your shell's startup file.
paul