Here’s a simple piece of software that I love, and find incredibly helpful: ExamDiff.
ExamDiff allows you to compare two text files and it will show you what the differences are, highlighting the lines where changes have occurred.
There are enough options in the free version to make it very useful. For example you can choose to:
- Ignore all white space in lines
- Ignore changes in amount of white space in lines
- Ignore case
- Treat both files as text files
- Ignore leading white space in lines
- Ignore trailing white space in lines
It’s really useful when, for example, you’ve been editing a CSS file and realise that you should have been marking it up with
/*comments*/ to indicate your changes.
Simply load the original file (you did keep a backup, didn’t you!) and the new file and click OK. A few seconds later: ta-da! You can now immediately see which lines you’ve altered, as those lines have now been highlighted.
I don’t use it terribly often, but it’s a great application to have in your toolkit for those moments that you quickly need to compare two files.