

CMP                            03/06/78                           CMP 


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.

FILES
       None

SEE ALSO
       comm
       The UNIX commands cmp, diff, and comm

DIAGNOSTICS
       If the end of one file is reached before the end of the  other,
       a message is printed.

AUTHORS
       Acquired  from  "Software Tools" by Kernighan and Plauger, with
       minor modifications made by Debbie Scherrer.

BUGS

       If either file is binary, spurious results should be expected.

       Cmp cannot handle offset lines:  line  n  of  file1  is  simply
       compared to line n of file2.
       
       Trailing blanks are significant, which will cause some lines to
       appear similar to the user which are actually different.




















                                 -1-                                  

