Jump to content

tkdiff

From Wikipedia, the free encyclopedia

This is an old revision of this page, as edited by BG19bot (talk | contribs) at 18:05, 18 March 2016 (Remove blank line(s) between list items per WP:LISTGAP to fix an accessibility issue for users of screen readers. Do WP:GENFIXES and cleanup if needed. Discuss this at Wikipedia talk:WikiProject Accessibility#LISTGAP). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.


tkdiff uses colors to suggest differences between files and within shared lines.

tkdiff is a graphical diff viewer based on the Tk framework.[1] It is capable of inter-operating with source-control systems like CVS and Subversion to show the differences between the local copy and the repository version. Such a line-by-line comparison is often considered to be good software engineering practice before committing code changes.

Tkdiff distinguishes itself from many alternatives by highlighting specific differences within a line shared by both files, rather than simply indicating that the whole line differs.

Example usage

  • tkdiff <file1> <file2> — to compare the two files <file1> and <file2>
  • tkdiff <file> — to compare the local version of the given file to the most recent version in the CVS/Subversion repository

tkdiff can also compare two older revisions of a file, etc.[2]

References