bug-coreutils
[Top][All Lists]
Advanced

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

Re: sort works wrong after 117452 entries


From: Andreas Schwab
Subject: Re: sort works wrong after 117452 entries
Date: Wed, 24 Jan 2007 15:39:55 +0100
User-agent: Gnus/5.110006 (No Gnus v0.6) Emacs/22.0.91 (gnu/linux)

"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.

-- 
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 different."




reply via email to

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