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:[EMAIL PROTECTED] 
Gesendet: Mittwoch, 24. Jänner 2007 15:40
An: Kreuzer IT Support
Cc: [email protected]
Betreff: Re: sort works wrong after 117452 entries

"Kreuzer IT Support" <[EMAIL PROTECTED]> 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, [EMAIL PROTECTED] 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."




_______________________________________________
Bug-coreutils mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-coreutils

Reply via email to