home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
CP/M
/
CPM_CDROM.iso
/
cpm
/
cug
/
softt-11.lbr
/
CMP.DQC
/
CMP.DOC
Wrap
Text File
|
1984-07-05
|
1KB
|
58 lines
.bp 1
.in 0
.he 'CMP'03/06/78'CMP
.fo ''-#-
.fi
.in 7
.ti -7
NAME
.br
cmp - compare two files
.sp 1
.ti -7
SYNOPSIS
.br
cmp file1 [file2]
.sp 1
.ti -7
DESCRIPTION
.br
File1 is compared line-by-line with file2.
If any lines differ, cmp announces the line number and prints
each file's offending line.
.sp
If only 1 filename is given, the standard input is used as
file2.
.sp 1
.ti -7
FILES
.br
None
.sp 1
.ti -7
SEE ALSO
.br
diff, comm
.br
.sp 1
.ti -7
DIAGNOSTICS
.br
If the end of one file is reached before the end of the other, a
message is printed.
.sp 1
.ti -7
AUTHORS
.br
Original by Kernighan and Plauger, with
minor modifications made by Debbie Scherrer (Lawrence Berkeley Laboratory).
.sp 1
.ti -7
BUGS/DEFICIENCIES
.br
.sp 1
Cmp cannot handle offset lines: line n of file1
is simply compared to line n of file2.
Blanks are significant.