SUM(1) — Unix Programmer’s Manual
NAME
sum − sum and count blocks in a file
SYNOPSIS
sum file
DESCRIPTION
Sum calculates and prints a 16-bit checksum for the named file. It also prints the number of blocks in the file. Use sum to look for bad spots or to validate a file communicated over some transmission line.
SEE ALSO
DIAGNOSTICS
‘Read error’ is indistinguishable from end of file on most devices. Check the block count.
INTEGRATED SOLUTIONS 4.3 BSD — April 29, 1985