Re: sort

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

 



On Thu, Jul 10, 2003 at 10:47:00AM -0500, Bill Gradwohl wrote:

> I have a file full of random IP addresses, 1 per line. When I sort
> it with no options, I don't get a pure ASCII sort.

You do in the C locale.  In any other locale, the locale's sorting
rules apply.

For pure ASCII sorting, you need to do: LC_COLLATE=C sort

Tim.
*/

Attachment: pgp00263.pgp
Description: PGP signature


[Index of Archives]     [Fedora Users]     [Centos Users]     [Kernel Development]     [Red Hat Install]     [Red Hat Watch]     [Red Hat Development]     [Red Hat Phoebe Beta]     [Yosemite Forum]     [Fedora Discussion]     [Gimp]     [Stuff]     [Yosemite News]

  Powered by Linux