MathGroup Archive 2005

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: Need to be able to diff 2 pieces of text.

AuthorTools also has a tool for finding the differences between 2 lists.

  lines1 = ReadList["file1.txt", Record];
lines2 = ReadList["file2.txt", Record];
DiffReport[lines1, lines2]


On Mar 31, 2005, at 12:25 AM, Barthelet, Luc wrote:

> Anyone got a text diff engine under Mathematica? I will need to run it
> under webMathematica to show differences to users.
> Author tools has a notebook difference, but I have not figured out the
> details of how it works.
> Thanks for the MD5 answers by the way, it worked perfectly!
> Luc.

  • Prev by Date: Re: Transpose to multiple lists
  • Next by Date: Re: Recommendations for a programming book?
  • Previous by thread: Re: Need to be able to diff 2 pieces of text.
  • Next by thread: Re: Replacing an expression by an expression