SUM(1) UNIX Programmer's Manual SUM(1)
sum - sum and count blocks in a file
S
\bSY
\bYN
\bNO
\bOP
\bPS
\bSI
\bIS
\bS
D
\bDE
\bES
\bSC
\bCR
\bRI
\bIP
\bPT
\bTI
\bIO
\bON
\bN
_
\bS_
\bu_
\bm calculates and prints a 16-bit checksum for the named
file, and also prints 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.
S
\bSE
\bEE
\bE A
\bAL
\bLS
\bSO
\bO
D
\bDI
\bIA
\bAG
\bGN
\bNO
\bOS
\bST
\bTI
\bIC
\bCS
\bS
`Read error' is indistinguishable from end of file on most
devices; check the block count.
Printed 7/9/88 April 29, 1985 1