V3/man/man1/cmp.1

Compare this file to the similar file:
Show the results in this format:

.pa 1
.he 'CMP (I)'1/15/73'CMP (I)'
.ti 0
NAME		cmp -- compare two files
.sp
.ti 0
SYNOPSIS	cmp___ file918 file928
.sp
.ti 0
DESCRIPTION	The two files are
compared for identical contents.
Discrepancies are noted
by giving the offset and the differing words,
all in octal.
.sp
.ti 0
FILES		--
.sp
.ti 0
SEE ALSO	proof(I)
.sp
.ti 0
DIAGNOSTICS	Messages
are given for inability to open either argument, premature
EOF on either argument, and incorrect usage.
.sp
.ti 0
BUGS		If
the shorter of the two files is of odd length,
cmp acts as if a null byte had been appended to it.