[Top][All Lists]

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

AW: sort works wrong after 117452 entries

From: Kreuzer IT Support
Subject: AW: sort works wrong after 117452 entries
Date: Wed, 24 Jan 2007 16:27:16 +0100

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, 

-----Ursprüngliche Nachricht-----
Von: Andreas Schwab [mailto:address@hidden 
Gesendet: Mittwoch, 24. Jänner 2007 15:40
An: Kreuzer IT Support
Cc: address@hidden
Betreff: Re: sort works wrong after 117452 entries

"Kreuzer IT Support" <address@hidden> 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 Schwab, SuSE Labs, address@hidden 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

reply via email to

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