tags:

views:

158

answers:

7

Hello all

I am looking for compare utility similar for "win merge" or "beyond compare" . That in addition for gui comparison will have api that i will be able to run on my files via my code and see if the files are the same or not and also use it in gui mode to show graphically the differences .

Any recommendations ?

thanks

+2  A: 

If you're looking for a Diff API (as opposed to a standalone tool), try DiffPlex.

Aaronaught
+1  A: 

Kdiff might do what you need. Kdiff command line

ScottCam
kdiff3 is simply amazing! In particular - and I know this is a bit off topic - I like the fact that if a single character changed on a line, it will highlight that character. Most diff tools will highlight the entire line, making it a real pain to identify the actual change.
Justin Ethier
A: 

You didn't mention free or not. If free, Sourcegear's DiffMerge: http://www.sourcegear.com/diffmerge/index.html.

Steve
A: 

Check out Araxis Merge - it's a two-way or three-way diff utility, it can handle ANSI, ASCII and Unicode files (it can even compare an ANSI file to a Unicode file!), and it offers both a command-line interface, as well as an automation API for including its smarts into your own apps.

Highly recommended!

marc_s
A: 

I like ExamDiff Pro. There is also a no cost version.

sean e
A: 

Beyond Compare 3 does support command line actions, so you should be able to hook it into any existing process that you have.

Here's the command line documentation, if you're interested: http://www.scootersoftware.com/help/index.html?command_line_reference.html

Free versions are available for download.

jbruton
A: 

WinMerge IS open source, you could modify it to do what you want (even though I am pretty sure it does have command line access and an API you could use).

Danny Varod