Research V3 development
[unix-history] / man / man1 / cmp.1
CommitLineData
278037a2
DR
1.pa 1
2.he 'CMP (I)'1/15/73'CMP (I)'
3.ti 0
4NAME cmp -- compare two files
5.sp
6.ti 0
7SYNOPSIS cmp\b\b\b___ file\e91\e8 file\e92\e8
8.sp
9.ti 0
10DESCRIPTION The two files are
11compared for identical contents.
12Discrepancies are noted
13by giving the offset and the differing words,
14all in octal.
15.sp
16.ti 0
17FILES --
18.sp
19.ti 0
20SEE ALSO proof(I)
21.sp
22.ti 0
23DIAGNOSTICS Messages
24are given for inability to open either argument, premature
25EOF on either argument, and incorrect usage.
26.sp
27.ti 0
28BUGS If
29the shorter of the two files is of odd length,
30cmp acts as if a null byte had been appended to it.