Your message dated Tue, 25 Jul 2006 20:02:04 -0700
with message-id <[EMAIL PROTECTED]>
and subject line Bug#361123: fixed in moreutils 0.15
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--- Begin Message ---
Package: moreutils
Version: 0.10
Severity: normal


I don't know if this is a bug, or a feature that isn't
documented:

    % cd /tmp
    # file A has 3 'I's
    % for z in I came I saw I conquered ; do echo $z ; done > A

    # file B has 1 'I'
    % for z in I dream of Jeannie       ; do echo $z ; done > B

    % combine A and B
    I
    I
    I

Surprising that 'and' wouldn't stop at the first 'I', since 'B' has
only one.

    % combine A or B
    I
    came
    I
    saw
    I
    conquered
    dream
    of
    Jeannie

After that I'd half-expected that 'or' might print 4 'I's.

    % combine B and A
    I

Also surprising.  'and' isn't commutative.  The man page
says:

    'and' Outputs lines that are common to both files.

...which sounds commutative.

    % combine B or A
    I
    dream
    of
    Jeannie
    came
    saw
    conquered

And 'or' isn't commutative.

Probably the 'and' algorithm must go like:

    1) let F2=list unique words in 2nd File.
    2) let N=0
    3) get line N of first file.
    4) let N=N+1
    5) print line N if N is in list F2
    6) if not file1 EOF, goto step 3

...and so forth.

All the uses of 'combine' I can think of involve unique lists, so a
pipe to 'sort --unique' would fix any surprises.  Is the current
behavior deliberate, and more useful for other tasks?


Hope this helps...


-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.16-1-686
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968) (ignored: LC_ALL set to C)

Versions of packages moreutils depends on:
ii  libc6                         2.3.6-4    GNU C Library: Shared libraries an
ii  perl                          5.8.8-3    Larry Wall's Practical Extraction 

moreutils recommends no packages.

-- no debconf information


--- End Message ---
--- Begin Message ---
Source: moreutils
Source-Version: 0.15

We believe that the bug you reported is fixed in the latest version of
moreutils, which is due to be installed in the Debian FTP archive:

moreutils_0.15.dsc
  to pool/main/m/moreutils/moreutils_0.15.dsc
moreutils_0.15.tar.gz
  to pool/main/m/moreutils/moreutils_0.15.tar.gz
moreutils_0.15_i386.deb
  to pool/main/m/moreutils/moreutils_0.15_i386.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [EMAIL PROTECTED],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Joey Hess <[EMAIL PROTECTED]> (supplier of updated moreutils package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [EMAIL PROTECTED])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Tue, 25 Jul 2006 22:26:56 -0400
Source: moreutils
Binary: moreutils
Architecture: source i386
Version: 0.15
Distribution: unstable
Urgency: low
Maintainer: Joey Hess <[EMAIL PROTECTED]>
Changed-By: Joey Hess <[EMAIL PROTECTED]>
Description: 
 moreutils  - additional unix utilities
Closes: 361123 378122 378623
Changes: 
 moreutils (0.15) unstable; urgency=low
 .
   * Remove notes about potential tools from README, moved to wiki.
   * vidir: Don't abort if it sees an empty or all-whitespace line.
   * vidir: If just a filename is removed and the number is left,
     treat this the same as removing the whole line, and delete the file,
     instead of trying to rename the file to "".
   * vidir: Remove the periods after the item numbers.
   * vidir: Man page improvements. Closes: #378122
   * combine: Man page improvements, to clarify even more that order does
     matter and that the operations are not commutative. Closes: #361123
   * combine: The behavior of "or" was fairly strange if lines were repeated in
     a file. Changed behavior to just print all lines from both files, even
     if this means printing dups. Not sure I like this behavior either, but
     it's consistent with the very useful behaviors of "and" and "not".
   * vidir, vipe: Use /usr/bin/editor if it's present, and EDITOR and VISUAL
     arn't set, to comply with Debian policy. For portability, fall back to vi
     if there's no /usr/bin/editor. Closes: #378623
Files: 
 c551920c807184c604d8caed6a2dde5f 530 utils optional moreutils_0.15.dsc
 2d212aca490adcd62bca2ce19086a938 22482 utils optional moreutils_0.15.tar.gz
 36a9b8d6f62081ba8b9066ee406c2030 30010 utils optional moreutils_0.15_i386.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (GNU/Linux)

iD8DBQFExth92tp5zXiKP0wRAr3GAJ9E2LwoF9LV7qLQsJVFjBPuGXOsDwCcCxQL
vSjJinv9FRyv0z7MM1Clovs=
=O4A/
-----END PGP SIGNATURE-----


--- End Message ---

Reply via email to