ATTENTION: You are viewing a page formatted for mobile devices; to view the full web page, click HERE.

Main Area and Open Discussion > General Software Discussion

Looking for a difference tool

(1/3) > >>

app103:
I need a tool, either desktop or online, that can show me the difference between 2 blocks of text.

I just want to be able to paste them both into boxes and click a button, rather than having to create files from them in order to compare.

It can't compare line 1 in box A to line 1 in box B and say they are different and leave it at that. It needs to be able to highlight why they are different.


* Has something been added?
* Has something been removed?
* Has something been moved or rearranged?
And it should color code the highlights so I can know what the deal is. And it can not highlight the whole line. It needs to highlight only the differences within the line or block.

I am looking for comparisons like this:

0989878677656545435798-09-9-09-0886675654543544798987978968756754654
0989878677656545435798-09-9-09-0000075654543544798987978968756754654

ABCDEFGHIJKLMNOPQRSTUVWXYZ
WXYZABCDEFGHIJKLMNOPQRSTUV

oiuhuyeekggtdfdsfgesfddhhlkjlokuhyhgffgdfgkjnlk
oiuhuyggtdfdsfgesfdboodhhlkjlokuhyhgffgdfgkjnlk

jfchkjsjhsaflk1234jahbflkjhalkjfhalkjfnakj9000kjhdkjghkjdhgkjdhkjfdhjkd
jfchkjs5678jhsaflkjahbflkjhalkjfhalkjfnakjkjhdkjghkjdhgkjd1234hkjfdhjkd

The quick red fox jumped over the lazy brown dog.
The quick brown dog jumped over the lazy red fox.


So far I haven't found one that can do this with comparing a very long single line string to another, and without me having to make files out of them first.

JavaJones:
Winmerge - free, open source, frequently updated. Here's how: First go to options and in the Editor section under "Line Difference Coloring", switch to "Character level" for line differences. You'll only need to do this once of course. Now (and in the future) just click New Documents (first icon on toolbar), put in text in both sides, click Refresh (F5 or from View menu). There is even an auto-refresh preference so no need to hit F5 - just look through the options. Lots of good stuff in there. :D No need to save the files either, though it's optional when you quit or create new docs (you can just choose "Discard all").

- Oshyan

tn_dang:
Beyond Compare v3.x can compare text that you create "on the fly"/paste from the clipboard.

app103:
Someone on Friendfeed gave me a link to this online demo of Diff/Match/Patch open-source library from Google: http://neil.fraser.name/software/diff_match_patch/svn/trunk/demos/demo_diff.html

It does the trick.  :)

Beyond Compare v3.x can compare text that you create "on the fly"/paste from the clipboard.
-tn_dang (November 04, 2009, 02:39 PM)
--- End quote ---

I have an older version, and I am not sure if I qualify for the free upgrade, which edition I'd be getting if I did, and what exactly the difference is between what I already have and the new one I would be getting.

I remember reading somewhere that it was stated that those that took the free upgrade would actually lose some functionality in the process. It was all such a confusing mess that I never bothered to figure it out or even see if I qualified for the free upgrade.

mwb1100:
Compare It! also seems to do a pretty good job with this, and there's a long-standing 50% discount on DC (so it would run $15).

Navigation

[0] Message Index

[#] Next page

Go to full version