Merge from vendor branch TNF:
[pkgsrcv2.git] / devel / diffutils / DESCR
1 GNU diff utilities:
2
3    You can use the `diff' command to show differences between two
4 files, or each corresponding file in two directories.  `diff' outputs
5 differences between files line by line in any of several formats,
6 selectable by command line options.  This set of differences is often
7 called a "diff" or "patch".  For files that are identical, `diff'
8 normally produces no output; for binary (non-text) files, `diff'
9 normally reports only that they are different.
10
11    You can use the `cmp' command to show the offsets and line numbers
12 where two files differ.  `cmp' can also show all the characters that
13 differ between the two files, side by side.
14
15    You can use the `diff3' command to show differences among three
16 files.  When two people have made independent changes to a common
17 original, `diff3' can report the differences between the original and
18 the two changed versions, and can produce a merged file that contains
19 both persons' changes together with warnings about conflicts.
20
21    You can use the `sdiff' command to merge two files interactively.