"Rasmusson, Lars" <[EMAIL PROTECTED]> writes:

> I'm running sort 
>
> $ sort --version
> sort (coreutils) 4.5.3
> Written by Mike Haertel and Paul Eggert.
>
> both on Linux 2.4.20 and Windows cygwin
>
> on the attached file 
>
> with 
>
> $ sort -n -u data.txt 
>
> and
>
> $ sort -u data.txt 
>
>
> The first invocation (with -n) looses one line of the input, 
> namely the line with "0" (zero)

It's not lost.  The lines "0" and "slice" have the same sort key (namely
zero), and only one of them is output.

Andreas.

-- 
Andreas Schwab, SuSE Labs, [EMAIL PROTECTED]
SuSE Linux AG, Maxfeldstra�e 5, 90409 N�rnberg, Germany
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://mail.gnu.org/mailman/listinfo/bug-coreutils

Reply via email to