DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 

(diff.info) Invoking cmp

Info Catalog (diff.info) Making Patches (diff.info) Top (diff.info) Invoking diff
 
 Invoking `cmp'
 **************
 
    The `cmp' command compares two files, and if they differ, tells the
 first byte and line number where they differ.  Bytes and lines are
 numbered starting with 1.  The arguments of `cmp' are as follows:
 
      cmp OPTIONS... FROM-FILE [TO-FILE [FROM-SKIP [TO-SKIP]]]
 
    The file name `-' is always the standard input.  `cmp' also uses the
 standard input if one file name is omitted.  The FROM-SKIP and TO-SKIP
 operands specify how many bytes to ignore at the start of each file;
 they are equivalent to the `--ignore-initial=FROM-SKIP:TO-SKIP' option.
 
    An exit status of 0 means no differences were found, 1 means some
 differences were found, and 2 means trouble.
 

Menu

 
* cmp Options Summary of options to `cmp'.
 
Info Catalog (diff.info) Making Patches (diff.info) Top (diff.info) Invoking diff
automatically generated byinfo2html