summaryrefslogtreecommitdiff
path: root/util/sbase/cksum.1
diff options
context:
space:
mode:
Diffstat (limited to 'util/sbase/cksum.1')
-rw-r--r--util/sbase/cksum.124
1 files changed, 24 insertions, 0 deletions
diff --git a/util/sbase/cksum.1 b/util/sbase/cksum.1
new file mode 100644
index 00000000..6e2657a4
--- /dev/null
+++ b/util/sbase/cksum.1
@@ -0,0 +1,24 @@
+.Dd October 8, 2015
+.Dt CKSUM 1
+.Os sbase
+.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
+POSIX.1-2013.