GNU bug report logs -
#9780
sort -u throws out non-duplicates
Previous Next
Reported by: Bernhard Rosenkraenzer <bero <at> bero.eu>
Date: Tue, 18 Oct 2011 01:04:02 UTC
Severity: normal
Tags: moreinfo
Done: Jim Meyering <jim <at> meyering.net>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
Bernhard Rosenkraenzer wrote:
> On Mon, 17 Oct 2011 20:22:52 -0600, Eric Blake wrote:
>> On 10/17/2011 06:59 PM, Bernhard Rosenkraenzer wrote:
>> Thanks for the report. Unfortunately, you did not provide enough
>> information to reproduce this - for example, what platform are you
>> running on?
>
> Fairly current Linux -- kernel 3.1-rc9, eglibc 2.14.1
>
>> Can you narrow it down to a single file of say 5 or so
>> lines? Can you reproduce the problem with shorter input lines?
>
> Yes:
> [bero <at> matterhorn ~]$ echo
> libcore/luni/src/main/java/java/security/cert/X509CRLSelector.java
> libcore/luni/src/main/java/java/security/cert/X509CertSelector.java
> libcore/luni/src/main/java/java/security/cert/X509Certificate.java
> libcore/luni/src/main/java/javax/security/cert/X509Certificate.java'
> |tr ' ' '\n' |sort -u --debug
So far, I've been unable to reproduce that on Fedora 16 or Debian unstable
both x86_64. I.e., the following (equivalent to above, but with no long
lines) always prints the four input lines:
cert=libcore/luni/src/main/java/java/security/cert
echo \
$cert/X509CRLSelector.java \
$cert/X509CertSelector.java \
$cert/X509Certificate.java \
libcore/luni/src/main/java/javax/security/cert/X509Certificate.java \
|tr ' ' '\n' |sort -u --debug
This bug report was last modified 12 years and 278 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.