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