summaryrefslogtreecommitdiff
path: root/man/sha384sum.x
diff options
context:
space:
mode:
authorPádraig Brady <P@draigBrady.com>2021-09-06 15:17:12 +0100
committerPádraig Brady <P@draigBrady.com>2021-09-15 20:44:16 +0100
commitad6c8e1181a3966e35d68c1c354deb1c73f3e974 (patch)
tree43ec3b95effbbaa70ae782b79e6c2f26883590ea /man/sha384sum.x
parent6a5c561b4fb3018d284d03747c612527e0c89571 (diff)
downloadcoreutils-ad6c8e1181a3966e35d68c1c354deb1c73f3e974.tar.gz
cksum: add --algorithm option to select digest mode
* src/digest.c: Organize HASH_ALGO_CKSUM to be table driven, and amalgamate all digest algorithms. (main): Parse all options if HASH_ALGO_CKSUM, and disallow --tag, --zero, and --check with the traditional bsd, sysv, and crc checksums for now. * src/local.mk: Reorganize to include all digest modules in cksum. * tests/misc/cksum-a.sh: Add a new test. * tests/misc/b2sum.sh: Update to default to checking with cksum, as b2sum's implementation diverges a bit from the others. * tests/local.mk: Reference the new test. * doc/coreutils.texi (cksum invocation): Adjust the summary to identify the new mode, and document the new --algorithm option. * man/cksum.x: Adjust description to be more general. * man/*sum.x: Add [See Also] section referencing cksum(1). * NEWS: Mention the new feature.
Diffstat (limited to 'man/sha384sum.x')
-rw-r--r--man/sha384sum.x2
1 files changed, 2 insertions, 0 deletions
diff --git a/man/sha384sum.x b/man/sha384sum.x
index 87a5a0092..a8c09cd62 100644
--- a/man/sha384sum.x
+++ b/man/sha384sum.x
@@ -2,3 +2,5 @@
sha384sum \- compute and check SHA384 message digest
[DESCRIPTION]
.\" Add any additional description here
+[SEE ALSO]
+cksum(1)