bug-coreutils
[Top][All Lists]
Advanced

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

Re: sort utility


From: Philip Rowlands
Subject: Re: sort utility
Date: Sun, 26 Jun 2005 16:14:00 +0100 (BST)

On Sat, 25 Jun 2005, John J. Herda wrote:

>I am trying to get an ASCII sort and am having great troubles and
>frustration.  It appears that there is no switch to force an ASCII
>sort, only for other kinds of sorts.  It appears that environment
>variables: LC_ALL, LC_COLLATE, LC_CTYPE, and LANG all influence how
>sort works and that one interferes with another.

Please see the coreutils FAQ:

http://www.gnu.org/software/coreutils/faq/coreutils-faq.html#Sort-does-not-sort-in-normal-order_0021

In a nutshell, setting LC_COLLATE or LC_ALL should do the trick.


Cheers,
Phil




reply via email to

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