bug-coreutils
[Top][All Lists]
Advanced

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

Re: sort and "<>" characters


From: Eric Blake
Subject: Re: sort and "<>" characters
Date: Thu, 15 Feb 2007 14:51:27 +0000

> I have a portability problem : "<" should be sorted before ">"

Only if your locale is set up that way.  This is a FAQ:

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

Consider exporting LC_ALL=C and comparing the difference in the
results - your Linux host has a different default locale setting than
your SunOS host.

-- 
Eric Blake





reply via email to

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