GNU bug report logs - #13144
"comm" bug or strange behaviour

Previous Next

Package: coreutils;

Reported by: Matteo Zambelli <mat.zambelli <at> gmail.com>

Date: Tue, 11 Dec 2012 18:07:02 UTC

Severity: normal

Tags: moreinfo, unreproducible

Done: Assaf Gordon <assafgordon <at> gmail.com>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 13144 in the body.
You can then email your comments to 13144 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-coreutils <at> gnu.org:
bug#13144; Package coreutils. (Tue, 11 Dec 2012 18:07:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Matteo Zambelli <mat.zambelli <at> gmail.com>:
New bug report received and forwarded. Copy sent to bug-coreutils <at> gnu.org. (Tue, 11 Dec 2012 18:07:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Matteo Zambelli <mat.zambelli <at> gmail.com>
To: bug-coreutils <at> gnu.org
Subject: "comm" bug or strange behaviour
Date: Tue, 11 Dec 2012 18:53:46 +0100
[Message part 1 (text/plain, inline)]
Hi, i was trying to find common lines between the two attached
files(both created with "dpkg --get-selections > filename.txt") with
this command:

comm -12 squeeze-xfce-installed_packages.txt
squeeze-xfce-installed_packages.txt > result.txt

then i noticed that the line:

libcdio10                                       install

that is regularly present in both files, doesn't appear in the
result(as well as few other lines).
I have tried with option "--nocheck-order" and such, but those common
lines are still missing in the output file.

Here's my uname -a:
Linux wheezy-dvd-exp 3.2.0-4-686-pae #1 SMP Debian 3.2.32-1 i686 GNU/Linux

Thanks for help ;)
[squeeze-xfce-installed_packages.txt (text/plain, attachment)]
[squeeze-lxde-installed_packages.txt (text/plain, attachment)]

Information forwarded to bug-coreutils <at> gnu.org:
bug#13144; Package coreutils. (Wed, 12 Dec 2012 04:55:02 GMT) Full text and rfc822 format available.

Message #8 received at 13144 <at> debbugs.gnu.org (full text, mbox):

From: Bob Proulx <bob <at> proulx.com>
To: Matteo Zambelli <mat.zambelli <at> gmail.com>
Cc: 13144 <at> debbugs.gnu.org
Subject: Re: bug#13144: "comm" bug or strange behaviour
Date: Tue, 11 Dec 2012 21:53:57 -0700
Matteo Zambelli wrote:
> Hi, i was trying to find common lines between the two attached
> files(both created with "dpkg --get-selections > filename.txt") with
> this command:
> 
> comm -12 squeeze-xfce-installed_packages.txt squeeze-xfce-installed_packages.txt > result.txt
> 
> then i noticed that the line:
> 
> libcdio10                                       install
> 
> that is regularly present in both files, doesn't appear in the
> result(as well as few other lines).

Thank you for the report.  Also thank you for including the data sets
needed to reproduce the activity.  That's great.

Unfortunately I cannot reproduce your result.

  $ comm -12 squeeze-xfce-installed_packages.txt squeeze-xfce-installed_packages.txt | grep libcdio10
  libcdio10					install

And so there it is in the output??

> I have tried with option "--nocheck-order" and such, but those common
> lines are still missing in the output file.

Try 'sort -c' to check the sort ordering of both files.  (Looked okay
to me but it is locale dependent.)

What is your 'locale' setting?  (Affects sort order.)

  $ locale

In this case it shouldn't matter but what version of comm are you
using?  I know you reported your kernel version but that isn't really
associated.  (Think Squeeze with Backports.)

  $ comm --version

Verify that the 'comm' binary that you are running is the expected
one:

  $ type comm
  comm is hashed (/usr/bin/comm)

Bob




Added tag(s) unreproducible and moreinfo. Request was from Bob Proulx <bob <at> proulx.com> to control <at> debbugs.gnu.org. (Sat, 15 Dec 2012 05:43:02 GMT) Full text and rfc822 format available.

Information forwarded to bug-coreutils <at> gnu.org:
bug#13144; Package coreutils. (Tue, 23 Oct 2018 22:37:02 GMT) Full text and rfc822 format available.

Message #13 received at 13144 <at> debbugs.gnu.org (full text, mbox):

From: Assaf Gordon <assafgordon <at> gmail.com>
To: 13144 <at> debbugs.gnu.org
Subject: Re: bug#13144: "comm" bug or strange behaviour
Date: Tue, 23 Oct 2018 16:36:02 -0600
close 13144
stop

(triaging old bugs)

On 11/12/12 09:53 PM, Bob Proulx wrote:
> Matteo Zambelli wrote:
>> Hi, i was trying to find common lines between the two attached
>> files(both created with "dpkg --get-selections > filename.txt") with
>> this command:
>>
>> comm -12 squeeze-xfce-installed_packages.txt squeeze-xfce-installed_packages.txt > result.txt
>>
> [...]
> Unfortunately I cannot reproduce your result.
> 
>    $ comm -12 squeeze-xfce-installed_packages.txt squeeze-xfce-installed_packages.txt | grep libcdio10
>    libcdio10					install
> 
> And so there it is in the output??

With no further comments to Bob's explanation in 6 years,
I'm closing this bug.

-assaf





bug closed, send any further explanations to 13144 <at> debbugs.gnu.org and Matteo Zambelli <mat.zambelli <at> gmail.com> Request was from Assaf Gordon <assafgordon <at> gmail.com> to control <at> debbugs.gnu.org. (Tue, 23 Oct 2018 22:37:02 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Wed, 21 Nov 2018 12:24:06 GMT) Full text and rfc822 format available.

This bug report was last modified 6 years and 268 days ago.

Previous Next


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