File and directory comparison tool?
Is there any software available on Ubuntu12.04 to compare two gedit text files for the differences between them. I have two CSS text files with me that i want to compare for the difference.
This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.
The classical Un*x way of doing that is diff:
A more visual way for vim users is to do vimdiff:
Finally, there is diffuse:
Here is an example diffuse window:
You clearly see the differences between the two text files. Using the blue arrows on the top that go up or down you can move between the differences found. The blue arrows on the top that go left and right can be used to move the text from left to right and the other way round. The icons with two little blue arrows are used to merging the two files.
If you double click, you can directly edit the text.
Just to make life more interesting, you will get an upvote if you guess correctly what is this data in the above picture :-)
|show 4 more comments|
There is also the command line tool