bug-coreutils
[Top][All Lists]
Advanced

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

Re: sort peculiarity


From: Eric Blake
Subject: Re: sort peculiarity
Date: Thu, 31 May 2007 06:51:56 -0600
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.10) Gecko/20070221 Thunderbird/1.5.0.10 Mnenhy/0.7.5.666

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

According to Alvaro R Pereira Jr on 5/31/2007 5:19 AM:
> Hello,
> 
> I don't know if this is a bug or a peculiarity. Anyway, I would
> appreciate to receive a feedback about how to proceed. I am using sort
> to eliminate duplicated entries in textual files, using the -u option.
> Sort cannot recognize some extended ASCII characters as different, such
> as the char decimal numbers 249 and 250.

This is most likely not a bug in sort, but a misunderstanding on your part
as to how locales affect sort.
http://www.gnu.org/software/coreutils/faq/coreutils-faq.html#Sort-does-not-sort-in-normal-order_0021

- --
Don't work too hard, make some time for fun as well!

Eric Blake             address@hidden
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGXsTr84KuGfSFAYARAl5nAKCSVO0FWglBc8hOqERCE0SDwyHmZgCgl430
2kVUlhorWG7dAIkLHbVnjpA=
=MYMN
-----END PGP SIGNATURE-----




reply via email to

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