[prev in list] [next in list] [prev in thread] [next in thread] 

List:       coreutils-bug
Subject:    AW: sort works wrong after 117452 entries
From:       "Kreuzer IT Support" <support () kreuzer-it ! com>
Date:       2007-01-24 15:27:16
Message-ID: 00fd01c73fcc$218326b0$6500a8c0 () Rollin2
[Download RAW message or body]


switching the columns and sorting for field +0 helped. 
so many thanks! 

i used ; for a later use of cut - missed to tell sort that key (don't know
if thats possible). 
thanks a lot, 
niko

-----Ursprüngliche Nachricht-----
Von: Andreas Schwab [mailto:schwab@suse.de] 
Gesendet: Mittwoch, 24. Jänner 2007 15:40
An: Kreuzer IT Support
Cc: bug-coreutils@gnu.org
Betreff: Re: sort works wrong after 117452 entries

"Kreuzer IT Support" <support@kreuzer-it.com> writes:

> As you will notice, the sort for column +1 does it's job only until 
> line 117452.

Which is the last line where the file name contains no space.  The sort keys
are obtained by splitting the line on whitespace by default.

> Afterwards, the files are assorted. 

The lines are still correctly sorted on the sort key, it's just not the key
you expect.  Better put the sort key in the first field, or split the line
on the semicolon.  That makes it unabiguous.

Andreas.

--
Andreas Schwab, SuSE Labs, schwab@suse.de SuSE Linux Products GmbH,
Maxfeldstraße 5, 90409 Nürnberg, Germany PGP key fingerprint = 58CA 54C7
6D53 942B 1756  01D3 44D5 214B 8276 4ED5 "And now for something completely
different."





[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic