home *** CD-ROM | disk | FTP | other *** search
/ Fresh Fish 8 / FreshFishVol8-CD1.bin / gnu / man / cat1 / sum.0 < prev    next >
Text File  |  1993-12-07  |  2KB  |  67 lines

  1.  
  2.  
  3.  
  4. SUM(1L)                                                   SUM(1L)
  5.  
  6.  
  7. NNAAMMEE
  8.        sum - checksum and count the blocks in a file
  9.  
  10. SSYYNNOOPPSSIISS
  11.        ssuumm [-rs] [--sysv] [--help] [--version] [file...]
  12.  
  13. DDEESSCCRRIIPPTTIIOONN
  14.        This  manual  page  documents the GNU version of ssuumm.  ssuumm
  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 _-_-_s_y_s_v option, cor-
  21.        responding file name are printed when there  is  at  least
  22.        one  file  argument.   By  default,  the  GNU ssuumm computes
  23.        checksums using an algorithm that is compatible  with  the
  24.        BSD ssuumm and prints file sizes in units of 1K blocks.
  25.  
  26.    OOPPTTIIOONNSS
  27.        _-_r     Use  the  default (BSD compatible) algorithm.  This
  28.               option is included for compatibility with the  Sys-
  29.               tem V ssuumm.  Unless the _-_s option was also given, it
  30.               has no effect.
  31.  
  32.        _-_s_, _-_-_s_y_s_v
  33.               Compute checksums using an algorithm that  is  com-
  34.               patible  with  the  one  the  System  V ssuumm uses by
  35.               default and print file sizes in units  of  512-byte
  36.               blocks instead of 1K.
  37.  
  38.        _-_-_h_e_l_p Print a usage message and exit with a non-zero sta-
  39.               tus.
  40.  
  41.        _-_-_v_e_r_s_i_o_n
  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.