Monday, 19 April 2010

Comparing files in Ubuntu (graphical diff tool)

Today I found myself needing to compare two LaTeX files. I do my LaTeX editing in gedit, and was hoping that there might be a built-in diff tool. This is not the case (at least not yet), but after a bit of searching I found these programs:
  • Meld, for the GNOME desktop
  • KDiff, for the KDE desktop
Both programs can be downloaded from the Ubuntu repository (I was able to download it using the Ubuntu Download Centre), and both are able to compare and merge files and/or directories.

Note: There is also a command line diff tool (try diff --help), but I prefer a graphical interface for comparing files.

0 comments:

Post a Comment