manual page distributed with 4.1BSD
[unix-history] / usr / src / old / sum / sum.1
CommitLineData
92ec8e44
KM
1.\" @(#)sum.1 4.1 (Berkeley) %G%
2.\"
3.TH SUM 1
4.AT 3
5.SH NAME
6sum \- sum and count blocks in a file
7.SH SYNOPSIS
8.B sum
9file
10.SH DESCRIPTION
11.I Sum
12calculates and prints a 16-bit checksum for the named file,
13and also prints the number of blocks in the file.
14It is typically used to look for bad spots, or
15to validate a file communicated over
16some transmission line.
17.SH "SEE ALSO"
18wc(1)
19.SH DIAGNOSTICS
20`Read error'
21is indistinuishable from end of file on
22most devices; check the block count.