GNU Info

Info Node: (diff.info)Invoking cmp

(diff.info)Invoking cmp


Next: Invoking diff Prev: Making Patches Up: Top
Enter node , (file) or (file)node

Invoking `cmp'
**************

   The `cmp' command compares two files, and if they differ, tells the
first byte and line number where they differ.  Its arguments are as
follows:

     cmp OPTIONS... FROM-FILE [TO-FILE]

   The file name `-' is always the standard input.  `cmp' also uses the
standard input if one file name is omitted.

   An exit status of 0 means no differences were found, 1 means some
differences were found, and 2 means trouble.

cmp Options
Summary of options to `cmp'.

automatically generated by info2www version 1.2.2.9