Hello, can some one recommend a good (hopefully free) command line diff utility. I would basically need to kick it off from .Net to produce some sort of a text file with the differences between two xml files.
Thanks!
Hello, can some one recommend a good (hopefully free) command line diff utility. I would basically need to kick it off from .Net to produce some sort of a text file with the differences between two xml files.
Thanks!
Check out MSYS, it gives you diff and all the common GNU utilities on Windows.
As somebody else stated, you can also get diff and all that stuff on Windows by installing Cygwin.
Not free but Beyond Compare is very good and can be driven from the command line.
It will be a well spend 30$.
... and you always can use the build in filecompare of windows, fc, offcourse.
regards,
Lieven
Well, Windows already comes with one: FC.EXE It probably isn't the best that one can find, but may be it is good enough for what you need it for.
Plain text diff
don't always manage xml
nicely.
Here is an existing SO question that might help: http://stackoverflow.com/questions/430001/xml-diff-and-merge
WinMerge always worked for me. On the other hand, if you want something lightweight extreme, ExamDiff is only one exe file. Neither of them are command line, though.
For that I would recommend just plain diff, in combination with, for example, vim and some plugin, depending on your preferences. Diff comes with unxutils, which someone already gave the link for (see above).