summaryrefslogtreecommitdiff
path: root/static/v10/man1/cmp.1
blob: 05113c093dd87eef7ad81bc381a81cdf58e09481 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
.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.