[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Bugreport 'sort'
From: |
Eric Blake |
Subject: |
Re: Bugreport 'sort' |
Date: |
Tue, 04 Mar 2008 06:24:53 -0700 |
User-agent: |
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.12) Gecko/20080213 Thunderbird/2.0.0.12 Mnenhy/0.7.5.666 |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
According to Heijnen on 3/4/2008 5:18 AM:
|
| I would assume the lines with ">" and "<" would be grouped together, but
I still get:
|
| Apparently the comparing ">" and "<" doesn't work well (or do ">" and
"<" have special meaning?)
It is probably your locale that treats > and < as identical. Read the
FAQ:
http://www.gnu.org/software/coreutils/faq/coreutils-faq.html#Sort-does-not-sort-in-normal-order_0021
and try running 'LC_ALL=C sort' to see the difference.
| sort (coreutils) 5.2.1
You may want to consider upgrading - that version is several years old;
the latest stable version is 6.10.
| Disclaimer
| If you have received this message in error, please delete it
You should also avoid posting to publicly archived mailing lists from an
account that adds such a disclaimer on your behalf - some people refuse on
principle to reply when such a trailer is present, even though the
directions in the trailer cannot be feasibly enforced.
- --
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
iD8DBQFHzU2l84KuGfSFAYARAhHBAKCEEQ1MHh1wuU8nCyTksLnKIfwRPgCcD5HC
G6gshkFXzbAxnTreUOIy7QY=
=aE8b
-----END PGP SIGNATURE-----