sum - checksum and count the blocks in a file
[-rs] [--sysv] [--help] [--version] [file...]
This manual page
documents the GNU version of
computes a 16-bit checksum for each named file, or the standard input
if none are given or when a file named `-' is given. It prints the
checksum for each file along with the number of blocks in the file
By default each corresponding file name is also printed if at least two
arguments are specified.
option, corresponding file name are printed when there is at least
one file argument. By
default, the GNU
computes checksums using an algorithm that is compatible with the BSD
and prints file sizes in units of 1K blocks.
Use the default (BSD compatible) algorithm. This option is included
for compatibility with the System V
option was also given, it has no effect.
Compute checksums using an algorithm that is compatible with the one
the System V
uses by default
and print file sizes in units of 512-byte blocks instead of 1K.
Print a usage message and exit with a status code indicating success.
Print version information on standard output then exit.