Package: coreutils
Version: 5.97-5.4
Severity: normal
File: /usr/bin/comm

Hi
    when comparing files, comm fails on particular circumstances. For
example, take this from wnpp-alert:
[EMAIL PROTECTED]:~$ cat /tmp/a
O 362929 alltraxclock -- analog clock plugin for GKrellM
RFH 354176 cvs -- Concurrent Versions System
O 382732 d4x -- graphical download manager
RFH 282283 dpkg -- dselect: a user tool to manage Debian packages
RFA 413482 enscript -- Converts ASCII text to Postscript, HTML, RTF or
Pretty-Print
O 438730 gkrellmss -- Plugin for GKrellM that has a VU meter and a chart
RFH 248397 grub -- GRand Unified Bootloader
O 374643 htdig -- WWW search system for an intranet or small internet
O 369135 imlib -- Imaging Library for X
O 394841 kde-style-klearlook -- Clone of GNOME's Clearlooks theme for KDE
RFA 388365 libifp -- communicate with iRiver iFP audio devices
O 364606 lirc -- Linux Infra-red Remote Control support
RFA 421026 mysql-dfsg-5.0 -- MySQL database server
RFH 354174 nas -- The Network Audio System
RFH 373824 ntp -- Network Time Protocol: network utilities
RFH 419523 openoffice.org -- OpenOffice.org Office suite
RFH 332498 openssl -- Secure Socket Layer (SSL) binary and related
cryptographic tools
O 279824 perlftlib -- Perl module for the FreeType library
RFH 423334 poppler -- PDF rendering library and utilities
RFH 358521 sgml-data -- common SGML and XML data
RFH 263052 stlport4.6 -- STLport C++ class library
RFH 377467 svn-buildpackage -- helper programs to maintain Debian packages
with Subversion
O 403683 toshset -- Access much of the Toshiba laptop hardware interface
O 427131 wmavgload -- small NeXTStep-like system load average monitor
O 406512 xcruise -- Fly about a 3D-formed file system
O 431760 xli -- command line tool for viewing images in X11
O 418367 ytalk -- enhanced talk program
[EMAIL PROTECTED]:~$ 

[EMAIL PROTECTED]:~$ cat .devscripts_cache/.wnpp-diff 
O 362929 alltraxclock -- analog clock plugin for GKrellM
RFH 354176 cvs -- Concurrent Versions System
O 382732 d4x -- graphical download manager
RFH 282283 dpkg -- dselect: a user tool to manage Debian packages
RFA 413482 enscript -- Converts ASCII text to Postscript, HTML, RTF or
Pretty-Print
O 438730 gkrellmss -- Plugin for GKrellM that has a VU meter and a chart
RFH 248397 grub -- GRand Unified Bootloader
O 374643 htdig -- WWW search system for an intranet or small internet
O 369135 imlib -- Imaging Library for X
O 394841 kde-style-klearlook -- Clone of GNOME's Clearlooks theme for KDE
RFA 388365 libifp -- communicate with iRiver iFP audio devices
O 364606 lirc -- Linux Infra-red Remote Control support
RFA 421026 mysql-dfsg-5.0 -- MySQL database server
RFH 354174 nas -- The Network Audio System
RFH 373824 ntp -- Network Time Protocol: network utilities
RFH 419523 openoffice.org -- OpenOffice.org Office suite
RFH 332498 openssl -- Secure Socket Layer (SSL) binary and related
cryptographic tools
O 279824 perlftlib -- Perl module for the FreeType library
RFH 358521 sgml-data -- common SGML and XML data
RFH 263052 stlport4.6 -- STLport C++ class library
RFH 377467 svn-buildpackage -- helper programs to maintain Debian packages
with Subversion
O 403683 toshset -- Access much of the Toshiba laptop hardware interface
O 427131 wmavgload -- small NeXTStep-like system load average monitor
O 406512 xcruise -- Fly about a 3D-formed file system
O 431760 xli -- command line tool for viewing images in X11
O 418367 ytalk -- enhanced talk program
[EMAIL PROTECTED]:~$ 

As you can see, the only line that is different in the 2 files is the
"poppler" one.
So running comm -3 between the 2 files, I expect to see only that line,
instead of:
[EMAIL PROTECTED]:~$ comm -3 /tmp/a .devscripts_cache/.wnpp-diff 
        RFH 358521 sgml-data -- common SGML and XML data
        RFH 263052 stlport4.6 -- STLport C++ class library
        RFH 377467 svn-buildpackage -- helper programs to maintain Debian 
packages with Subversion
        O 403683 toshset -- Access much of the Toshiba laptop hardware interface
        O 427131 wmavgload -- small NeXTStep-like system load average monitor
        O 406512 xcruise -- Fly about a 3D-formed file system
        O 431760 xli -- command line tool for viewing images in X11
        O 418367 ytalk -- enhanced talk program
RFH 423334 poppler -- PDF rendering library and utilities
RFH 358521 sgml-data -- common SGML and XML data
RFH 263052 stlport4.6 -- STLport C++ class library
RFH 377467 svn-buildpackage -- helper programs to maintain Debian packages with 
Subversion
O 403683 toshset -- Access much of the Toshiba laptop hardware interface
O 427131 wmavgload -- small NeXTStep-like system load average monitor
O 406512 xcruise -- Fly about a 3D-formed file system
O 431760 xli -- command line tool for viewing images in X11
O 418367 ytalk -- enhanced talk program
[EMAIL PROTECTED]:~$ 

diff, for example, displays the correct result:
[EMAIL PROTECTED]:~$ diff -Naur /tmp/a .devscripts_cache/.wnpp-diff 
--- /tmp/a      2007-10-15 23:22:49.000000000 +0200
+++ .devscripts_cache/.wnpp-diff        2007-10-15 23:23:19.000000000 +0200
@@ -16,7 +16,6 @@
 RFH 419523 openoffice.org -- OpenOffice.org Office suite
 RFH 332498 openssl -- Secure Socket Layer (SSL) binary and related 
cryptographic tools
 O 279824 perlftlib -- Perl module for the FreeType library
-RFH 423334 poppler -- PDF rendering library and utilities
 RFH 358521 sgml-data -- common SGML and XML data
 RFH 263052 stlport4.6 -- STLport C++ class library
 RFH 377467 svn-buildpackage -- helper programs to maintain Debian packages 
with Subversion
[EMAIL PROTECTED]:~$ 

Regards

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 2.6.23.1 (SMP w/2 CPU cores; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages coreutils depends on:
ii  libacl1                      2.2.45-1    Access control list shared library
ii  libc6                        2.6.1-5     GNU C Library: Shared libraries
ii  libselinux1                  2.0.15-2+b1 SELinux shared libraries

coreutils recommends no packages.

-- no debconf information



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to