APerlJax has asked for the wisdom of the Perl Monks concerning the following question:
I've searched far and wide for a script/utility that performs a task I know many people have needed to do before.
I need something that can take two chunks of text (including newlines), diff them, and mark the changes. The GNU diff utility just won't cut it.
For example:
Block 1
----------
The quick brown fox jumped over the lazy dog while running through my house.
Block 2
----------
The fast brown fox jumped over the fat, lazy dog while running.
Result
----------
The <<fast>><<Deleted: quick>> brown fox jumped over the <<fat,>> lazy dog while running<<.>> <<Deleted: through my house.>>
Something to that effect. Does anyone know of something with the capibility (or customizably close) that I can tie into a Perl script?
Thanks!
~Roger
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Text (Version) Differencing
by bart (Canon) on Apr 18, 2006 at 19:16 UTC | |
by planetscape (Chancellor) on Apr 19, 2006 at 08:23 UTC | |
|
Re: Text (Version) Differencing
by TedYoung (Deacon) on Apr 18, 2006 at 18:44 UTC | |
|
Re: Text (Version) Differencing
by Ido (Hermit) on Apr 18, 2006 at 18:44 UTC | |
|
Re: Text (Version) Differencing
by kvale (Monsignor) on Apr 18, 2006 at 18:47 UTC | |
|
Re: Text (Version) Differencing
by traveler (Parson) on Apr 18, 2006 at 22:11 UTC | |
|
Re: Text (Version) Differencing
by planetscape (Chancellor) on Apr 19, 2006 at 08:13 UTC |