Do you have a preferred program or method for comparing two text files? - TechHui2024-03-29T12:30:02Zhttp://www.techhui.com/forum/topics/do-you-have-a-preferred?commentId=1702911%3AComment%3A68073&feed=yes&xn_auth=noThe tool I use is BeyondCompa…tag:www.techhui.com,2011-01-18:1702911:Comment:720182011-01-18T00:53:56.143ZNizwer Husainhttp://www.techhui.com/profile/NizwerHusain
<p>The tool I use is BeyondCompare which is a paid version but worth it if you are doing code development.</p>
<p> </p>
<p>The tool I use is BeyondCompare which is a paid version but worth it if you are doing code development.</p>
<p> </p> http://en.wikipedia.org/wiki/…tag:www.techhui.com,2010-10-02:1702911:Comment:680842010-10-02T01:08:34.036ZBoris Ninghttp://www.techhui.com/profile/BorisNing
<a href="http://en.wikipedia.org/wiki/Comparison_of_file_comparison_tools" target="_blank">http://en.wikipedia.org/wiki/Comparison_of_file_comparison_tools</a><br />
<br />
kdiff3
<a href="http://en.wikipedia.org/wiki/Comparison_of_file_comparison_tools" target="_blank">http://en.wikipedia.org/wiki/Comparison_of_file_comparison_tools</a><br />
<br />
kdiff3 I've used BBEdit (Mac only).…tag:www.techhui.com,2010-10-01:1702911:Comment:680732010-10-01T17:20:52.870ZJW Guillaumehttp://www.techhui.com/profile/JWGuillaume
I've used BBEdit (Mac only). It shows both side by side and which lines are actually different.
I've used BBEdit (Mac only). It shows both side by side and which lines are actually different. They don't compete - they are…tag:www.techhui.com,2010-10-01:1702911:Comment:680702010-10-01T11:09:30.409ZBrianhttp://www.techhui.com/profile/Brian268
They don't compete - they are merely different.<br></br>
Do you want to know the semantic difference between two structured content (e.g. XML) files or the actual character/line-level difference? If you are writing a grammar parser for example, you may want both.. i.e. to validate that two files are semantically identical but structurally different.<br></br>
<br></br>
If you are just looking at "two text files" (or pretty much any regular code) from the same heritage.. and one has a bug/feature and one…
They don't compete - they are merely different.<br/>
Do you want to know the semantic difference between two structured content (e.g. XML) files or the actual character/line-level difference? If you are writing a grammar parser for example, you may want both.. i.e. to validate that two files are semantically identical but structurally different.<br/>
<br/>
If you are just looking at "two text files" (or pretty much any regular code) from the same heritage.. and one has a bug/feature and one doesn't - regular ol' diff is just fine. Any half-decent IDE/editor (Visual Studio, emacs, Eclipse, vim, etc) does this and many implement semantic comparison also since they need to understand what you're trying to do. That's how tools like ReSharper are able to suggest you rewrite/substitute code, collapse import lines, etc - all they're doing is realizing "hey I can find a neater way to rewrite this that is semantically equivalent". l believe Eclipse has a similar tool for Java, Dan would probably know more on this. Loren, I suspect what you're…tag:www.techhui.com,2010-10-01:1702911:Comment:680682010-10-01T10:52:34.886ZNate Sandershttp://www.techhui.com/profile/NateSanders
Loren, I suspect what you're looking for is a "semantic diff" or a "tree diff". This will be specific to the type of text file you're looking at. "diff" (the unix utility) will compare two text files, but can't compete with tree-based diffs that take a grammar as input. Unfortunately, I don't use anything like that on a regular basis. This post could be the beginning of a good thread, though.
Loren, I suspect what you're looking for is a "semantic diff" or a "tree diff". This will be specific to the type of text file you're looking at. "diff" (the unix utility) will compare two text files, but can't compete with tree-based diffs that take a grammar as input. Unfortunately, I don't use anything like that on a regular basis. This post could be the beginning of a good thread, though. diff?tag:www.techhui.com,2010-10-01:1702911:Comment:680512010-10-01T10:21:17.270ZBrianhttp://www.techhui.com/profile/Brian268
diff?
diff?