home *** CD-ROM | disk | FTP | other *** search
/ The Atari Compendium / The Atari Compendium (Toad Computers) (1994).iso / files / prgtools / gnustuff / tos / futils / futils~1 / man / manpages.zoo / cmp.1 < prev    next >
Encoding:
Text File  |  1991-11-11  |  1.1 KB  |  67 lines

  1.  
  2.  
  3.  
  4. CMP(1L)                                                   CMP(1L)
  5.  
  6.  
  7.  
  8. NAME
  9.      cmp - compare two files
  10.  
  11. SYNOPSIS
  12.      cmp [-cls] [+show-chars] [+verbose] [+silent] [+quiet] file1
  13.      [file2]
  14.  
  15. DESCRIPTION
  16.      This manual page documents the GNU version of cmp.  cmp com-
  17.      pares the two given files, and if they differ, tells the
  18.      first byte and line number where they differ.  The file name
  19.      `-' is always the standard input.  If one file name is omit-
  20.      ted, the standard input is used as well.
  21.  
  22.      It exits with the value
  23.  
  24.      0    The files are identical.
  25.  
  26.      1    The files differ.
  27.  
  28.      2    An error occurred.
  29.  
  30.      OPTIONS
  31.  
  32.      -_✓c, +_✓s_✓h_✓o_✓w-_✓c_✓h_✓a_✓r_✓s
  33.           Print the differing characters like `cat -t' (except
  34.           that newlines are printed as `^J').
  35.  
  36.      -_✓l, +_✓v_✓e_✓r_✓b_✓o_✓s_✓e
  37.           Print the (decimal) offsets and (octal) values of all
  38.           differing bytes.
  39.  
  40.      -_✓s, +_✓s_✓i_✓l_✓e_✓n_✓t, +_✓q_✓u_✓i_✓e_✓t
  41.           Do not print anything; only return an exit status indi-
  42.           cating whether the files differ.
  43.  
  44.  
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63. Page 1
  64.  
  65.  
  66.  
  67.