Commit | Line | Data |
---|---|---|
81e36857 | 1 | .\" @(#)sum.1 6.1 (Berkeley) %G% |
92ec8e44 | 2 | .\" |
81e36857 | 3 | .TH SUM 1 "" |
92ec8e44 KM |
4 | .AT 3 |
5 | .SH NAME | |
6 | sum \- sum and count blocks in a file | |
7 | .SH SYNOPSIS | |
8 | .B sum | |
9 | file | |
10 | .SH DESCRIPTION | |
11 | .I Sum | |
12 | calculates and prints a 16-bit checksum for the named file, | |
13 | and also prints the number of blocks in the file. | |
14 | It is typically used to look for bad spots, or | |
15 | to validate a file communicated over | |
16 | some transmission line. | |
17 | .SH "SEE ALSO" | |
18 | wc(1) | |
19 | .SH DIAGNOSTICS | |
20 | `Read error' | |
09ac6ac9 | 21 | is indistinguishable from end of file on |
92ec8e44 | 22 | most devices; check the block count. |