bug-textutils
[Top][All Lists]
Advanced

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

sort bug


From: F.Free
Subject: sort bug
Date: Sun, 04 Feb 2001 13:02:50 +0900

Hello -

I've read the bugs archive and changelog on 2.0g
and tried compiling 2.0g to fix a sort problem,
but it still looks broken:

kadenix:~>> cat sorttest
3
A
a
!
,
" 

When I sort using 2.0 and 2.0g, I get:

kadenix:~>> sort sorttest
,
!
"
3
A
a      

Correct answer (works on 1.22):
osprey:/home/free>> sort sorttest
!
"
,
3
A
a                  

kadenix:~>> sort --version
sort (GNU textutils) 2.0
Written by Mike Haertel.

osprey:/home/free>> sort --version
sort (GNU textutils) 1.22  

And, man ascii show osprey sort to be correct
order (as does od -An):

 041   33    21    !
 042   34    22    " 
 054   44    2C    ,   
 063   51    33    3 
 101   65    41    A 
 141   97    61    a 

Have I erred? 
Thanks.
Frank



reply via email to

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