[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: bug in sort
From: |
Andreas Schwab |
Subject: |
Re: bug in sort |
Date: |
Wed, 14 Jan 2004 15:16:55 +0100 |
User-agent: |
Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3.50 (gnu/linux) |
"Rasmusson, Lars" <address@hidden> 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, address@hidden
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 in sort, Rasmusson, Lars, 2004/01/14
- Re: bug in sort,
Andreas Schwab <=