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.
...
CMP(4) - Device Drivers Manual (sparc64) # CMP(4) - Device Drivers Manual (sparc64)
NAME # cmp - chip multi-threading processor
SYNOPSIS # cmp* at mainbus0 cmp* at ssm? cpu* at cmp?
DESCRIPTION # The cmp driver provides support for the chip multi-threading processors such as the Sun UltraSPARC IV and Fujitsu SPARC64 VI processors. It is not a physical device as such, but an abstraction to attach individual CPU cores.
...
COMM(1) - General Commands Manual # COMM(1) - General Commands Manual
NAME # comm - select or reject lines common to two files
SYNOPSIS # comm [-123f] file1Â file2
DESCRIPTION # The comm utility reads file1 and file2, which should be sorted lexically, and produces three text columns as output: lines only in file1; lines only in file2; and lines in both files.
The filename ‘-’ means the standard input.
...
CORE(4) - Device Drivers Manual (sparc64) # CORE(4) - Device Drivers Manual (sparc64)
NAME # core - processor core
SYNOPSIS # core* at cmp?
DESCRIPTION # The core driver provides support for the chip multi-threading processors that have multiple threads such as the Fujitsu SPARC64-VI processors. It is not a physical device as such, but an abstraction to attach individual CPU threads.
SEE ALSO # cmp(4), intro(4)
HISTORY # The core driver first appeared in OpenBSD 4.
...
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
...
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.
...
ZDIFF(1) - General Commands Manual # ZDIFF(1) - General Commands Manual
NAME # zcmp, zdiff - compare compressed files
SYNOPSIS # zcmp [options] file1 [file2]
zdiff [options] file1 [file2]
DESCRIPTION # zcmp and zdiff are filters that invoke cmp(1) or diff(1) respectively to compare compressed files. Such files generally have a “Z” or “gz” extension (both the compress(1) and gzip(1) formats are supported). Any options that are specified are passed to cmp(1) or diff(1).
...