bug-coreutils
[Top][All Lists]
Advanced

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

ASCII sort


From: John J. Herda
Subject: ASCII sort
Date: Tue, 26 Sep 2006 20:59:13 -0700 (PDT)

I have a problem with the "sort" utility.  I want a
simple ASCII sort but I cannot seem to get it.  It is
most frustrating.  I have tried "set LC_ALL=C" and
several others also but it seemed to have no effect. 
What can I do?  Please, help me.  Sorting is useless. 


Here are some samples of "sort" on my computer running
SuSE 10.1.  

sort         looks like this:
alias BNc 'grep -vi \!* ' # piped input see butnotc
alias BN  'grep -v  \!* ' # piped input see butnot
alias BOc 'grep -i  \!* ' # piped input see butonlyc
alias BO  'grep     \!* ' # piped input see butonly

sort -d -f   looks like this:
alias BNc 'grep -vi \!* ' # piped input see butnotc
alias BN  'grep -v  \!* ' # piped input see butnot
alias BOc 'grep -i  \!* ' # piped input see butonlyc
alias BO  'grep     \!* ' # piped input see butonly

An ASCII sort should look like this:
alias BN  'grep -v  \!* ' # piped input see butnot
alias BNc 'grep -vi \!* ' # piped input see butnotc
alias BO  'grep     \!* ' # piped input see butonly
alias BOc 'grep -i  \!* ' # piped input see butonlyc


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 




reply via email to

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