GNU bug report logs - #9094
BUG found in comm

Previous Next

Package: coreutils;

Reported by: Raphael Borchert <raphael.borchert <at> porsche.de>

Date: Fri, 15 Jul 2011 16:21:03 UTC

Severity: normal

Done: Jim Meyering <jim <at> meyering.net>

Bug is archived. No further changes may be made.

Full log


Message #10 received at 9094-done <at> debbugs.gnu.org (full text, mbox):

From: Jim Meyering <jim <at> meyering.net>
To: 9094-done <at> debbugs.gnu.org
Cc: Raphael Borchert <raphael.borchert <at> porsche.de>
Subject: Re: BUG found in comm
Date: Sun, 24 Jul 2011 16:10:41 +0200
> I found a bug in "comm"
> If I use "comm -1 -3 MNF.lst sketch.lst", I get the number "104014", but
> both files contain the number   "104014"
>
> here my terminal:
> [p308663 <at> cexlx111 SKETCH]$ comm -1 -3 MNF.lst sketch.lst | head -20
> 11250
> 104014
> 104079

Thank you for the report.  However, that is not a bug.
The problem is that your input is not sorted, and comm
requires that each input stream be sorted.

Using the --check-order option shows the offending line:

    $ comm --check-order -1 -3 MNF.lst sketch.lst
    11250
    comm: file 2 is not in sorted order
    [Exit 1]

I've closed this "issue".




This bug report was last modified 13 years and 363 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.