


CMP(1L)							CMP(1L)


NNAAMMEE
       cmp - compare two files

SSYYNNOOPPSSIISS
       ccmmpp [-cls] [--show-chars] [--verbose] [--silent] [--quiet]
       file1 [file2]

DDEESSCCRRIIPPTTIIOONN
       This manual page documents the GNU version  of  ccmmpp.   ccmmpp
       compares	the  two  given files, and if they differ, tells
       the first byte and line number  where  they  differ.   The
       file  name  `-' is always the standard input.  If one file
       name is omitted, the standard input is used as well.

       It exits with the value

       0      The files are identical.

       1      The files differ.

       2      An error occurred.

   OOPPTTIIOONNSS
       _-_c_, _-_-_s_h_o_w_-_c_h_a_r_s
	      Print  the  differing  characters	like  `cat   -t'
	      (except that newlines are printed as `^J').

       _-_l_, _-_-_v_e_r_b_o_s_e
	      Print  the  (decimal) offsets and (octal) values of
	      all differing bytes.

       _-_s_, _-_-_s_i_l_e_n_t_, _-_-_q_u_i_e_t
	      Do not print anything; only return an  exit  status
	      indicating whether the files differ.

       The  long-named options can be introduced with `+' as well
       as `--', for compatibility with previous releases.   Even-
       tually  support	for  `+'  will	be removed, because it is
       incompatible with the POSIX.2 standard.


















								1


