home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 22 gnu / 22-gnu.zip / GNUTUE.ZIP / man / sum.man < prev    next >
Text File  |  1992-07-18  |  1KB  |  30 lines

  1. NAME
  2.      sum - checksum and count the blocks in a file
  3.  
  4. SYNOPSIS
  5.      sum [-rs] [--sysv] [file...]
  6.  
  7. DESCRIPTION
  8.      This manual page documents the GNU version of sum.  sum computes a 16-bit
  9.      checksum  for each named file, or the standard input if none are given or
  10.      when a file named `-' is given.  It prints the  checksum  for  each  file
  11.      along  with  the  number of blocks in the file (rounded up), and the file
  12.      name unless no arguments were given.  By default, the  GNU  sum  computes
  13.      checksums  using  an  algorithm  that  is compatible with the BSD sum and
  14.      prints file sizes in units of 1K blocks.
  15.  
  16.      OPTIONS
  17.  
  18.      -r   Use the default (BSD compatible) algorithm.  This option is included
  19.           for  compatibility  with the System V sum.  Unless the -s option was
  20.           also given, it has no effect.
  21.  
  22.      -s, --sysv
  23.           Compute checksums using an algorithm that is compatible with the one
  24.           the  System  V  sum uses by default and print file sizes in units of
  25.           512-byte blocks instead of 1K.
  26.  
  27.      The long-named options can be introduced with `+' as well  as  `--',  for
  28.      compatibility with previous releases.  Eventually support for `+' will be
  29.      removed, because it is incompatible with the POSIX.2 standard.
  30.