aboutsummaryrefslogtreecommitdiffstats
path: root/xsum.man
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2020-10-21 16:14:44 +0200
committerMattias Andrée <maandree@kth.se>2020-10-21 16:14:44 +0200
commit258c031f0818c60ff251db617201f502519ad253 (patch)
tree6519089cba9eb03d1acf4e781b1f4ecc0ba3d350 /xsum.man
parentFix typo in man page (diff)
downloadsha3sum-258c031f0818c60ff251db617201f502519ad253.tar.gz
sha3sum-258c031f0818c60ff251db617201f502519ad253.tar.bz2
sha3sum-258c031f0818c60ff251db617201f502519ad253.tar.xz
Add -z
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to '')
-rw-r--r--xsum.man18
1 files changed, 14 insertions, 4 deletions
diff --git a/xsum.man b/xsum.man
index 188d55b..dc1c0fd 100644
--- a/xsum.man
+++ b/xsum.man
@@ -16,7 +16,7 @@ xsum - Compute and check Xsum message digests
.IR word-size ]
[-Z
.IR squeeze-count ]
-[-vx]
+[-vxz]
.RI [ file \ ...]
.SH DESCRIPTION
Print or check Xsum checksums. If no file
@@ -40,14 +40,24 @@ should be formated as the output of this program, or
similarly. This is not going to work if any of the
filenames in the input files starts with a regular
blank space or horizontal tab space, or if they
-contain a line feed, carriage return or form feed.
+contain a line feed, carriage return or form feed,
+unless the
+.B -z
+option is also used.
+.TP
+.B -v
+Print the hashing parameters.
.TP
.B -x
Convert input files from hexadecimal for to binary form
before calculating the checksums.
.TP
-.B -v
-Print the hashing parameters.
+.B -z
+Lines end with NUL instead of LF. If used with
+.BR -c ,
+this applies to read files (not the output), but it will
+also apply more strict parsing and allow any whitespace
+in file names.
.P
The following options change the hashing parameters:
.TP