Dai, Manhong wrote:
>       I think I found a bug of sort. the command is 
> 
> echo -e "a0 1\na 1\na1 1" | sort
> a0 1
> a 1
> a1 1
> 
>       Is this wrong?

The result is dependent upon your configured locale.  The above is
correct in a locale that ignores punctuation such as en_US.  Please
see this reference for more information.

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

Bob


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

Reply via email to