Difference between revisions of "Diff utility"
From Wiki @ Karl Jones dot com
Karl Jones (Talk | contribs) |
Karl Jones (Talk | contribs) |
||
Line 1: | Line 1: | ||
In [[computing]], the '''diff utility''' ('''diff tool''', etc.) is a [[Data comparison|data comparison]] tool that calculates and displays the differences between two files. | In [[computing]], the '''diff utility''' ('''diff tool''', etc.) is a [[Data comparison|data comparison]] tool that calculates and displays the differences between two files. | ||
− | (TO DO: | + | (TO DO: make lower-case d in title.) |
== Description == | == Description == | ||
Line 14: | Line 14: | ||
* [[Computing]] | * [[Computing]] | ||
+ | * [[Data comparison]] | ||
== External links == | == External links == |
Revision as of 17:21, 6 February 2016
In computing, the diff utility (diff tool, etc.) is a data comparison tool that calculates and displays the differences between two files.
(TO DO: make lower-case d in title.)
Description
Unlike edit distance notions used for other purposes, diff is line-oriented rather than character-oriented, but it is like Levenshtein distance in that it tries to determine the smallest set of deletions and insertions to create one file from the other.
The diff command displays the changes made in a standard format, such that both humans and machines can understand the changes and apply them: given one file and the changes, the other file can be created.
Typically, diff is used to show the changes between two versions of the same file.
See also
External links
- diff utility @ Wikipedia
- WinMerge