tkdiff is a graphical
diff
In computing, the utility diff is a data comparison tool that computes and displays the differences between the contents of files. Unlike edit distance notions used for other purposes, diff is line-oriented rather than character-oriented, but i ...
viewer based on the
Tk framework. It is capable of inter-operating with
source-control systems like
CVS
CVS may refer to:
Organizations
* CVS Health, a US pharmacy chain
** CVS Pharmacy
** CVS Caremark, a prescription benefit management subsidiary
* Council for Voluntary Service, England
* Cable Video Store, former US pay-per-view service
* CVS F ...
and
Subversion
Subversion () refers to a process by which the values and principles of a system in place are contradicted or reversed in an attempt to transform the established social order and its structures of power, authority, hierarchy, and social norms. Sub ...
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
Software engineering is a systematic engineering approach to software development.
A software engineer is a person who applies the principles of software engineering to design, develop, maintain, test, and evaluate computer software. The term ' ...
practice before committing code changes.
Tkdiff highlight specific differences within a line shared by both files, rather than simply indicating that the whole line differs.
Example usage
*
tkdiff
— to compare the two files
and
*
tkdiff
— 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.
tkdiff manual page
/ref>
References
{{reflist
Free file comparison tools