sum(1) sum(1)NAME sum - calculate a checksum SYNOPSIS sum [-r] file... DESCRIPTION sum calculates and displays a 16-bit checksum for the named file, and also displays the number of blocks in the file. It is typically used to look for bad spots, or to validate a file communicated over some transmission line. The flag op- tion -r causes an alternate algorithm to be used in comput- ing the checksum. EXAMPLES sum filea produces the checksum and the block count of filea. FILES /bin/sum SEE ALSO sumdir(1), wc(1). DIAGNOSTICS Read error is indistinguishable from end-of-file on most devices; check the block count. April, 1990 1