|File Search||Catalog||Content Search|
`diff' shows differences between two files, or each corresponding file in two directories. `cmp' shows the offsets and line numbers where two files differ. `cmp' can also show all the characters that differ between the two files, side by side. `diff3' shows differences among three files. `sdiff' merges two files interactively.
The set of differences produced by `diff' can be used to distribute updates to text files (such as program source code) to other people. This method is especially useful when the differences are small compared to the complete files. Given `diff' output, the `patch' program can update, or "patch", a copy of the file.
CMP(1) BSD General Commands Manual CMP(1) NAME cmp — compare two files SYNOPSIS cmp [-l | -s] file1 file2 [skip1 [skip2]] DESCRIPTION The cmp utility compares two files of any type and writes the results to the standard output. By default, cmp is silent if the files are the same; if they differ, the byte and line num‐ ber at which th more»
DIFF(1) GNU Tools DIFF(1) NAME diff - find differences between two files SYNOPSIS diff [options] from-file to-file DESCRIPTION In the simplest case, diff compares the contents of the two files from-file and to-file. A file name of - stands for text read from the standard input. As a special case, diff - more»
DIFF3(1) GNU Tools DIFF3(1) NAME diff3 - find differences between three files SYNOPSIS diff3 [options] mine older yours DESCRIPTION The diff3 command compares three files and outputs descrip‐ tions of their differences. The files to compare are mine, older, and yours. At most one of these three file names more»
SDIFF(1) GNU Tools SDIFF(1) NAME sdiff - find dif more»
diff (2.7-16) frozen unstable; urgency=low * added Pre-Depends: libc6 to the control info: fixes more»
Sat Oct 1 05:24:19 1994 Paul Eggert <firstname.lastname@example.org> * Version 2.7 released. * configure. more»
This is the GNU diffutils-2.17 package. The manpages were obtained from the FreeBSD-stable sources more»