> From: "Paul E. Black" <[EMAIL PROTECTED]>
> Date: Thu, 14 Mar 2002 13:29:06 -0500
> 
> $ more sortbug
>   SP
> sBSP
> tBSP
> $ sort sortbug
> sBSP
>   SP
> tBSP
> 
> Is this correct (or acceptable) behavior?  If so, why?

If the locale is set appropriately, it is correct behavior.  For example,
it's how Solaris 8 /usr/bin/sort behaves in the en_US.UTF-8 locale.

> LC_ALL is not set.  When I set it to "C", sort works as expected.

Environment variables other than LC_ALL also affect strcoll.
What is the output of the "locale" command?  What are the values of
your LC_COLLATE and LANG environment variables?

_______________________________________________
Bug-textutils mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/bug-textutils

Reply via email to