emacs-bug-tracker
[Top][All Lists]
Advanced

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

[debbugs-tracker] bug#9780: closed (sort -u throws out non-duplicates)


From: GNU bug Tracking System
Subject: [debbugs-tracker] bug#9780: closed (sort -u throws out non-duplicates)
Date: Mon, 20 Aug 2012 19:21:02 +0000

Your message dated Mon, 20 Aug 2012 21:20:23 +0200
with message-id <address@hidden>
and subject line Re: bug#9780: sort -u throws out non-duplicates
has caused the debbugs.gnu.org bug report #9780,
regarding sort -u throws out non-duplicates
to be marked as done.

(If you believe you have received this mail in error, please contact
address@hidden)


-- 
9780: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=9780
GNU Bug Tracking System
Contact address@hidden with problems
--- Begin Message --- Subject: sort -u throws out non-duplicates Date: Tue, 18 Oct 2011 01:59:12 +0100 User-agent: Ark Linux Roundcube Webmail/0.5.3
address@hidden tmp]$ wget http://bero.eu/java-source-list
[...]
address@hidden tmp]$ tr ' ' '\n' <java-source-list |sort |grep X509Certificate
libcore/luni/src/main/java/java/security/cert/X509Certificate.java
libcore/luni/src/main/java/javax/security/cert/X509Certificate.java

This is correct...

address@hidden tmp]$ tr ' ' '\n' <java-source-list |sort -u |grep X509Certificate
libcore/luni/src/main/java/javax/security/cert/X509Certificate.java

Note the missing .../java/java/security/cert/X509Certificate.java

address@hidden tmp]$ tr ' ' '\n' <java-source-list |sort |uniq |grep X509Certificate
libcore/luni/src/main/java/java/security/cert/X509Certificate.java
libcore/luni/src/main/java/javax/security/cert/X509Certificate.java

This is correct


The problem occurs (at least) with sort from coreutils 8.12, 8.13 and 8.14.

ttyl
bero



--- End Message ---
--- Begin Message --- Subject: Re: bug#9780: sort -u throws out non-duplicates Date: Mon, 20 Aug 2012 21:20:23 +0200
Paul Eggert wrote:
> On 08/17/2012 01:31 PM, Jim Meyering wrote:
>> So we definitely have a *second* bug here.
>
> Yes, I noticed.  It definitely counts as a double-ouch.
> I'm glad the bug report prompted us to read this code
> more carefully.
>
> My latest patch should fix both bugs.

Thanks again.
Closing this bug, finally.


--- End Message ---

reply via email to

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