coreutils

General Software Utilities
git clone http://git.omkov.net/coreutils
Log | Tree | Refs | README | LICENCE | Download

AuthorJamozed <[email protected]>
Date2020-08-14 05:14:34
Commit3407f0e830652ff8fe65636821e3ce923827b9ae
Parentfc65b527da58b61855b25a73f1861349e5a80e1d

sum: Add sum manpage

Diffstat

A man/sum.1 | 35 +++++++++++++++++++++++++++++++++++

1 files changed, 35 insertions, 0 deletions

diff --git a/man/sum.1 b/man/sum.1
new file mode 100644
index 0000000..a9a817c
--- /dev/null
+++ b/man/sum.1
@@ -0,0 +1,35 @@
+.TH SUM 1 2020-08-14 "OMKOV coreutils" "General Commands Manual"
+.SH NAME
+sum \(em write file checksums and block counts
+.SH SYNOPSYS
+\fBsum\fR [-rs] [\fIfile\fR...]
+.SH DESCRIPTION
+Compute and print a checksum for each input file, as well as the file block
+count. When no option is specified, the BSD algorithm and block size is used.
+.SH OPTIONS
+The following options are supported:
+.IP "\fB-r\fR" 8
+Use BSD algorithm and 1024 byte blocks.
+.IP "\fB-s\fR" 8
+Use System V algorithm and 512 byte blocks.
+.IP "\fB--help\fR" 8
+Display help information.
+.IP "\fB--version\fR" 8
+Display version information.
+.SH OPERANDS
+The following operand is supported:
+.IP "\fIfile\fR" 8
+A pathname of an input file. If no \fIfile\fR operands are specified, or
+\fIfile\fR is a '\fB-\fR', \fIsum\fR will read from standard input.
+.SH EXIT STATUS
+The following exit values will be returned:
+.IP "\ 0" 8
+All files were processed successfully.
+.IP ">0" 8
+An error occurred.
+.SH COPYRIGHT
+.nf
+Copyright (C) 2020, Jakob Wakeling
+All rights reserved.
+OMKOV Permissive Licence (https://www.omkov.net/OLPE)
+.fi