SUM(1) DOMAIN/IX SYS5 SUM(1)
NAME
sum - print checksum and block count of a file
USAGE
sum [ -r ] file
DESCRIPTION
Sum calculates and prints a 16-bit checksum for the named
file. It also prints the number of blocks in the file. Sum
is typically used to look for bad spots, or to validate a
file communicated over some transmission line.
The -r option causes an alternate algorithm to be used in
computing the checksum.
DIAGNOSTICS
``Read error'' is indistinguishable from end-of-file on most
devices. Check the block count.
RELATED INFORMATION
wc(1).
Printed 12/4/86 SUM-1