bug-coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Fwd: sort (coreutils) 4.5.3]


From: Paul Jarc
Subject: Re: [Fwd: sort (coreutils) 4.5.3]
Date: Fri, 27 Jun 2003 13:17:26 -0400
User-agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3 (gnu/linux)

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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]