e2140ec |
Jamozed |
2022-03-06 15:27:45 |
0
|
.TH SUM 1 2022-03-06 "OMKOV coreutils" "General Commands Manual" |
3407f0e |
Jamozed |
2020-08-14 17:14:34 |
1
|
.SH NAME |
3407f0e |
Jamozed |
2020-08-14 17:14:34 |
2
|
sum \(em write file checksums and block counts |
3407f0e |
Jamozed |
2020-08-14 17:14:34 |
3
|
.SH SYNOPSYS |
3407f0e |
Jamozed |
2020-08-14 17:14:34 |
4
|
\fBsum\fR [-rs] [\fIfile\fR...] |
3407f0e |
Jamozed |
2020-08-14 17:14:34 |
5
|
.SH DESCRIPTION |
3407f0e |
Jamozed |
2020-08-14 17:14:34 |
6
|
Compute and print a checksum for each input file, as well as the file block |
3407f0e |
Jamozed |
2020-08-14 17:14:34 |
7
|
count. When no option is specified, the BSD algorithm and block size is used. |
3407f0e |
Jamozed |
2020-08-14 17:14:34 |
8
|
.SH OPTIONS |
3407f0e |
Jamozed |
2020-08-14 17:14:34 |
9
|
The following options are supported: |
3407f0e |
Jamozed |
2020-08-14 17:14:34 |
10
|
.IP "\fB-r\fR" 8 |
3407f0e |
Jamozed |
2020-08-14 17:14:34 |
11
|
Use BSD algorithm and 1024 byte blocks. |
3407f0e |
Jamozed |
2020-08-14 17:14:34 |
12
|
.IP "\fB-s\fR" 8 |
3407f0e |
Jamozed |
2020-08-14 17:14:34 |
13
|
Use System V algorithm and 512 byte blocks. |
3407f0e |
Jamozed |
2020-08-14 17:14:34 |
14
|
.IP "\fB--help\fR" 8 |
3407f0e |
Jamozed |
2020-08-14 17:14:34 |
15
|
Display help information. |
3407f0e |
Jamozed |
2020-08-14 17:14:34 |
16
|
.IP "\fB--version\fR" 8 |
3407f0e |
Jamozed |
2020-08-14 17:14:34 |
17
|
Display version information. |
3407f0e |
Jamozed |
2020-08-14 17:14:34 |
18
|
.SH OPERANDS |
3407f0e |
Jamozed |
2020-08-14 17:14:34 |
19
|
The following operand is supported: |
3407f0e |
Jamozed |
2020-08-14 17:14:34 |
20
|
.IP "\fIfile\fR" 8 |
3407f0e |
Jamozed |
2020-08-14 17:14:34 |
21
|
A pathname of an input file. If no \fIfile\fR operands are specified, or |
3407f0e |
Jamozed |
2020-08-14 17:14:34 |
22
|
\fIfile\fR is a '\fB-\fR', \fIsum\fR will read from standard input. |
3407f0e |
Jamozed |
2020-08-14 17:14:34 |
23
|
.SH EXIT STATUS |
3407f0e |
Jamozed |
2020-08-14 17:14:34 |
24
|
The following exit values will be returned: |
3407f0e |
Jamozed |
2020-08-14 17:14:34 |
25
|
.IP "\ 0" 8 |
3407f0e |
Jamozed |
2020-08-14 17:14:34 |
26
|
All files were processed successfully. |
3407f0e |
Jamozed |
2020-08-14 17:14:34 |
27
|
.IP ">0" 8 |
3407f0e |
Jamozed |
2020-08-14 17:14:34 |
28
|
An error occurred. |
3407f0e |
Jamozed |
2020-08-14 17:14:34 |
29
|
.SH COPYRIGHT |
3407f0e |
Jamozed |
2020-08-14 17:14:34 |
30
|
.nf |
3407f0e |
Jamozed |
2020-08-14 17:14:34 |
31
|
Copyright (C) 2020, Jakob Wakeling |
e2140ec |
Jamozed |
2022-03-06 15:27:45 |
32
|
MIT Licence (https://opensource.org/licenses/MIT) |
3407f0e |
Jamozed |
2020-08-14 17:14:34 |
33
|
.fi |
|
|
|
34
|
|