sum(1) sum(1)NAME sum - calculates a checksum SYNOPSIS sum [-r] file... ARGUMENTS file Specifies the file to be calculated by the sum command. -r Causes an alternate algorithm to be used in computing the checksum. 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. EXAMPLES The command: sum filea produces the checksum and the block count of filea. STATUS MESSAGES AND VALUES Read error is indistinguishable from end-of-file on most devices; check the block count. FILES /bin/sum Executable file SEE ALSO sumdir(1), wc(1) January 1992 1