http://qs1969.pair.com?node_id=593221


in reply to Reconciling multiple lists (similar to "merge" in CVS?)

I vote diff like module. Also, c, d and e on separate lines is the Right Way IMHO (they aren't the same thing afterall).

--
In Bob We Trust, All Others Bring Data.

  • Comment on Re: Reconciling multiple lists (similar to "merge" in CVS?)

Replies are listed 'Best First'.
Re^2: Reconciling multiple lists (similar to "merge" in CVS?)
by japhy (Canon) on Jan 05, 2007 at 23:34 UTC
    It looks helpful, especially the tabular output format. But it only handles two lists at a time. I'm trying to determine how to take DIFF(X,Y), produce two new modified lists, and then do something with those and Z to balance all three.

    Jeff japhy Pinyan, P.L., P.M., P.O.D, X.S.: Perl, regex, and perl hacker
    How can we ever be the sold short or the cheated, we who for every service have long ago been overpaid? ~~ Meister Eckhart
      Text::Diff3, though it's hard to tell from the POD how useful it is. Algorithm::Merge looks promising though.

      UPDATE: Also, you'll have to bug tye to add diff3 support to Algorithm::Diff, or the Text::Diff author to alternately use Algorithm::Merge.

      --
      In Bob We Trust, All Others Bring Data.

        Well, there could be more than just three lists. There could be a dozen.

        Jeff japhy Pinyan, P.L., P.M., P.O.D, X.S.: Perl, regex, and perl hacker
        How can we ever be the sold short or the cheated, we who for every service have long ago been overpaid? ~~ Meister Eckhart