On Tue, Aug 05, 2003 at 12:14:09AM +0300, Oren Held wrote:
> Hi,
> 
> I've just encountered one of the strangest bugs I've seen in Linux..
> 
> Just like an amateur Operating System, one of the core unix tools - sort
> - behaves different on different Linux (or more correct: sort) versions.
> 
> When I try to sort the next input:
> ab c
> a c
> 
> It makes sense that 'a c' would come before 'ab c', and this is how it
> works with coreutils 5.0. But on an older version (I'm not sure that in
> ALL the older versions - actually textutils 2.0.21 works well) the
> results are vice versa.

Is it the different coreutils?

I have coreutils 5.0 of current debian unstable. With LC_COLLATE set to
"C" I get "a c" first. Without overriding LC_COLLATE I get "ab c" first.

-- 
Tzafrir Cohen                       +---------------------------+
http://www.technion.ac.il/~tzafrir/ |vim is a mutt's best friend|
mailto:[EMAIL PROTECTED]       +---------------------------+

=================================================================
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]

Reply via email to