home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Professional / OS2PRO194.ISO / os2 / prgramer / unix / doc / sum.man < prev    next >
Text File  |  1993-06-13  |  2KB  |  67 lines

  1.  
  2.  
  3.  
  4. SUM(1L)                                                   SUM(1L)
  5.  
  6.  
  7. NAME
  8.        sum - checksum and count the blocks in a file
  9.  
  10. SYNOPSIS
  11.        sum [-rs] [--sysv] [--help] [--version] [file...]
  12.  
  13. DESCRIPTION
  14.        This  manual  page  documents the GNU version of sum.  sum
  15.        computes a 16-bit checksum for each  named  file,  or  the
  16.        standard  input if none are given or when a file named `-'
  17.        is given.  It prints the checksum for each file along with
  18.        the number of blocks in the file (rounded up).  By default
  19.        each corresponding file name is also printed if  at  least
  20.        two arguments are specified.  With the --sysv option, cor-
  21.        responding file name are printed when there  is  at  least
  22.        one  file  argument.   By  default,  the  GNU sum computes
  23.        checksums using an algorithm that is compatible  with  the
  24.        BSD sum and prints file sizes in units of 1K blocks.
  25.  
  26.    OPTIONS
  27.        -r     Use  the  default (BSD compatible) algorithm.  This
  28.               option is included for compatibility with the  Sys-
  29.               tem V sum.  Unless the -s option was also given, it
  30.               has no effect.
  31.  
  32.        -s, --sysv
  33.               Compute checksums using an algorithm that  is  com-
  34.               patible  with  the  one  the  System  V sum uses by
  35.               default and print file sizes in units  of  512-byte
  36.               blocks instead of 1K.
  37.  
  38.        --help Print a usage message and exit with a non-zero sta-
  39.               tus.
  40.  
  41.        --version
  42.               Print version information on  standard  error  then
  43.               exit.
  44.  
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.  
  64. FSF                     GNU Text Utilities                      1
  65.  
  66.  
  67.