CMP(1) - General Commands Manual # CMP(1) - General Commands Manual
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 number at which the first difference occurred is reported.
...
DIFF(1) - General Commands Manual # DIFF(1) - General Commands Manual
NAME # diff - differential file and directory comparator
SYNOPSIS # diff [-abdipTtw] [-c | -e | -f | -n | -q | -u] [-I pattern] [-L label] file1 file2
diff [-abdipTtw] [-IÂ pattern] [-LÂ label] -CÂ number file1Â file2
diff [-abditw] [-IÂ pattern] -DÂ string file1Â file2
diff [-abdipTtw] [-IÂ pattern] [-LÂ label] -UÂ number file1Â file2
...
DIFF3(1) - General Commands Manual # DIFF3(1) - General Commands Manual
NAME # diff3 - 3-way differential file comparison
SYNOPSIS # diff3 [-3aEeXx] file1Â file2Â file3
DESCRIPTION # The diff3 utility compares the contents of three different versions of a file, file1, file2 and file3, writing the result to the standard output. The options describe different methods of merging and purging the separate versions into a new file. diff3 is used by rcs(1) to merge specific versions or create new versions.
...
SDIFF(1) - General Commands Manual # SDIFF(1) - General Commands Manual
NAME # sdiff - side-by-side diff
SYNOPSIS # sdiff [-abdilstW] [-I regexp] [-o outfile] [-w width] file1 file2
DESCRIPTION # sdiff displays two files side by side, with any differences between the two highlighted as follows: new lines are marked with ‘>’; deleted lines are marked with ‘<’; and changed lines are marked with ‘|’.
sdiff can also be used to interactively merge two files, prompting at each set of differences.
...
SYSMERGE(8) - System Manager’s Manual # SYSMERGE(8) - System Manager’s Manual
NAME # sysmerge - update system configuration files
SYNOPSIS # sysmerge [-bdp]
DESCRIPTION # sysmerge is a utility designed to help the administrator update configuration files after upgrading to a new release or snapshot.
sysmerge works by comparing a reference root directory against currently installed files.
sysmerge will work through the fileset, offering the chance to merge any differences using sdiff(1).
...