2015-01-17 22:46:12 +00:00
|
|
|
.Dd January 17, 2015
|
2015-01-31 13:20:02 +00:00
|
|
|
.Dt CKSUM 1
|
2015-01-30 20:17:58 +00:00
|
|
|
.Os
|
2015-01-17 22:38:38 +00:00
|
|
|
.Sh NAME
|
|
|
|
.Nm cksum
|
|
|
|
.Nd compute file checksum
|
|
|
|
.Sh SYNOPSIS
|
2015-01-30 20:17:58 +00:00
|
|
|
.Nm
|
2015-01-17 22:38:38 +00:00
|
|
|
.Op Ar file ...
|
|
|
|
.Sh DESCRIPTION
|
|
|
|
.Nm
|
|
|
|
calculates a cyclic redundancy check (CRC) of
|
|
|
|
.Ar file
|
|
|
|
according to
|
|
|
|
.St -iso8802-3
|
|
|
|
and writes it, the file size in bytes and path to stdout.
|
|
|
|
.Pp
|
|
|
|
If no
|
|
|
|
.Ar file
|
|
|
|
is given,
|
|
|
|
.Nm
|
|
|
|
reads from stdin.
|
|
|
|
.Sh STANDARDS
|
|
|
|
The
|
|
|
|
.Nm
|
|
|
|
utility is compliant with the
|
|
|
|
.St -p1003.1-2008
|
|
|
|
specification.
|