diff options
author | Ryan Jacobs <ryan@rmj.us> | 2023-07-28 15:08:49 -0700 |
---|---|---|
committer | Ryan Jacobs <ryan@rmj.us> | 2023-07-28 15:15:38 -0700 |
commit | c59fe6be238220d6421e75894cf5cc5b1db84530 (patch) | |
tree | 90ef8578d805e2c623625d129742708b028b53d7 | |
parent | 45cad6c8b8bfc97678d741783bc8b8285cdff360 (diff) |
Add `cksum` to the list of checksum functions.
cksum is present on POSIX systems and the *majority* of Linux systems.
Hence, MacOS has it too. I would like to have this merged in as a
default; I use cksum frequently because it's 10x faster than md5sum
for non-secure checksums.
POSIX 1003.2
https://en.wikipedia.org/wiki/Cksum
https://pubs.opengroup.org/onlinepubs/009696799/utilities/cksum.html
-rw-r--r-- | progress.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -72,7 +72,7 @@ static int proc_names_cnt; static char **proc_names; char *default_proc_names[] = {"cp", "mv", "dd", "tar", "bsdtar", "cat", "rsync", "scp", - "grep", "fgrep", "egrep", "cut", "sort", "md5sum", "sha1sum", + "grep", "fgrep", "egrep", "cut", "sort", "cksum", "md5sum", "sha1sum", "sha224sum", "sha256sum", "sha384sum", "sha512sum", #ifdef __FreeBSD__ "md5", "sha1", "sha224", "sha256", "sha512", "sha512t256", "rmd160", |