NAME cmp - compare two files SYNOPSIS cmp file1 [file2] DESCRIPTION File1 is compared line-by-line with file2. If any lines differ, cmp announces the line number and prints each file's offending line. If only 1 filename is given, the standard input is used as file2. FILES None SEE ALSO diff, comm DIAGNOSTICS If the end of one file is reached before the end of the other, a message is printed. AUTHORS Original by Kernighan and Plauger, with minor modifications made by Debbie Scherrer (Lawrence Berkeley Laboratory). BUGS/DEFICIENCIES Cmp cannot handle offset lines: line n of file1 is simply compared to line n of file2. Blanks are significant.