2015-10-08 11:15:08 -04:00
|
|
|
.Dd 2015-10-08
|
2015-01-31 08:20:02 -05:00
|
|
|
.Dt CKSUM 1
|
2015-01-31 14:37:03 -05:00
|
|
|
.Os sbase
|
2015-01-17 17:38:38 -05:00
|
|
|
.Sh NAME
|
|
|
|
.Nm cksum
|
|
|
|
.Nd compute file checksum
|
|
|
|
.Sh SYNOPSIS
|
2015-01-30 15:17:58 -05:00
|
|
|
.Nm
|
2015-01-17 17:38:38 -05: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
|
2015-03-27 12:22:48 -04:00
|
|
|
.St -p1003.1-2013
|
2015-01-17 17:38:38 -05:00
|
|
|
specification.
|