bug-textutils
[Top][All Lists]
Advanced

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

Re: strcoll problem?


From: Hans-Bernhard Broeker
Subject: Re: strcoll problem?
Date: Fri, 15 Mar 2002 18:49:50 +0100 (MET)

On Fri, 15 Mar 2002, Paul Eggert wrote:

> > From: Hans-Bernhard Broeker <address@hidden>
> > Date: 15 Mar 2002 16:34:08 GMT
> > 
> > sort treats whitespace as column separators, by default.
> 
> But you need to specify an option to get that behavior.  He was using
> 'sort' With no options, and in that case 'sort' sorts the entire input
> line, including white space.

Looks like some locale's definition of collation order already imply -b by
themselves.  Here's a test run on a RetHat Linux 6.1 box:

~> env LC_ALL=de_DE sort in
 RR
rrr
 ss
 SS
sss
 tt
 TT
ttt
~> sort --version
sort (GNU textutils) 2.0
Written by Mike Haertel.

Copyright (C) 1999 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR
PURPOSE.

-- 
Hans-Bernhard Broeker (address@hidden)
Even if all the snow were burnt, ashes would remain.




reply via email to

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