> 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



_______________________________________________
Bug-coreutils mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-coreutils

Reply via email to