CMP(1)CMP(1)
NAME
cmp – compare two files
SYNOPSIS
DESCRIPTION
The options are:
Print the byte number (decimal) and the differing bytes (hexadecimal) for each difference.
Print the line number of the first differing byte.
Print nothing for differing files, but set the exit status.
If offsets are given,
comparison starts at the designated byte position
of the corresponding file.
Offsets that begin with
SOURCE
SEE
DIAGNOSTICS
If a file is inaccessible or missing, the exit status is