[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
sort command does not deal with blanks correctly
From: |
byron |
Subject: |
sort command does not deal with blanks correctly |
Date: |
Thu, 16 Nov 2006 13:14:42 -0800 (PST) |
User-agent: |
SquirrelMail/1.4.3a-0.f1.1 |
in Solaris, for example (and in perl, etc.)
ae
ac
a l
az
sorts to
a l
ac
ae
az
which is correct, since the space character is lexigraphically less than any
alphanumeric character
but gnu sort (linux) seems to ignore the blanks entirely, resulting in
ac
ae
a l
az
getting a different result is a real pain!
Is there any option that makes 'sort' behave as the man page claims it does?
- sort command does not deal with blanks correctly,
byron <=