[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#457778: ITP: blm -- compute set operations on line-oriented files: and, or, xor, and more.



Hi Stefano,

Thanks for telling me about combine.  It is a nice program, but not the same as
blm.  blm supports any number of one up to many many file arguments and each
argument may have a unique operation.  combine supports exactly one operation
only.  Another difference is that combine uses an arbitrary ordering based on
the order that lines appear in the input files, whereas blm automatically sorts
and uniques each line: that is, the sequence of lines is really
converted to a set.
As the man page for combine states, their operations are not commutative due
to the fact that they try to preserve order.  Blm makes no such attempts and is
therefore simpler.  Best regards,

Rudi

On Dec 26, 2007 1:05 AM, Stefano Zacchiroli <zack@debian.org> wrote:
> On Tue, Dec 25, 2007 at 08:07:16AM -0800, Rudi Cilibrasi wrote:
> >   Description     : compute set operations on line-oriented files: and, or, xor, and more.
>
> You need to expand "more" above, since the utility "combine" from
> package moreutils is already capable of doing "and", "or", "xor", "not"
> (the latter standing for set difference).
>
> If blm is just that then I oppose its packaging.
>
> Cheers.
>
> --
> Stefano Zacchiroli -*- PhD in Computer Science ............... now what?
> zack@{cs.unibo.it,debian.org,bononia.it} -%- http://www.bononia.it/zack/
> (15:56:48)  Zack: e la demo dema ?    /\    All one has to do is hit the
> (15:57:15)  Bac: no, la demo scema    \/    right keys at the right time
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.6 (GNU/Linux)
>
> iD8DBQFHchlnZN5jenMUa9QRAtUEAJ9Z75RP37OxhB/C2m2QQbW0sgxqYACfZIJ0
> QcynntVjLSTWEbk3U++7zPg=
> =WufQ
> -----END PGP SIGNATURE-----
>
>



-- 
"Our lives are determined by what we pay attention to; the quality of
our lives is determined by the quality of our attention." -- Michael
Wells



Reply to: