Modern version of WinDiff? [closed]

眉间皱痕 提交于 2020-01-01 05:54:55

问题


VB6 came with WinDiff.

Is there a free modern version of WinDiff available that is able to ignore case?


回答1:


Along with WinMerge and the WinDiff from the latest SDK, I also have SourceGear's free DiffMerge.

I use WinMerge (which hasn't changed for a while either -- don't ignore blank lines; that exercises bugs) most, especially its ability to open two blank editable pages and you can paste anything, such as from a Remote Desktop to a machine that does not have any visual diff installed, and the differences automatically (or manually if you prefer) update.

DiffMerge's feature I like is its display of differences, which seems to cater for spuriously different line breaks better.

And, to answer your question, the WinDiff from the latest SDK (or at least the one included with Visual Studio 2010), WinMerge, and DiffMerge can all ignore case.




回答2:


WinDiff is part of the Windows SDK, it still ships with it. But no, the SDK is targeted to programmers that write code in case-sensitive languages, C and C++.

The source code of WinDiff was once part of the SDK samples. You can still get it from this web page, assuming you're into hacking C code and have an old compiler laying around. You'll need to adapt line.c, the line_gethashcode() and line_compare() functions. Lower-casing the line is easiest.

Well, that was the programmer's answer. Plenty of other fish in the sea, Beyond Compare typically gets a lot of nods.



来源:https://stackoverflow.com/questions/12151953/modern-version-of-windiff

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!