29 lines
412 B
Groff
29 lines
412 B
Groff
.Dd January 17, 2015
|
|
.Dt CKSUM 1
|
|
.Os
|
|
.Sh NAME
|
|
.Nm cksum
|
|
.Nd compute file checksum
|
|
.Sh SYNOPSIS
|
|
.Nm
|
|
.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.
|