Pádraig Brady
ad6c8e1181
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.
2021-09-15 20:44:16 +01:00
..
2018-12-27 23:46:02 -07:00
2007-07-10 19:00:00 +02:00
2021-09-15 20:44:16 +01:00
2015-09-03 00:33:19 +01:00
2006-02-27 10:43:01 +00:00
2005-12-06 07:14:04 +00:00
2021-01-01 16:36:09 +00:00
2021-01-03 13:57:36 +00:00
2007-03-29 21:37:05 +02:00
2014-06-19 19:56:58 +01:00
2021-01-01 16:36:09 +00:00
2021-01-01 16:36:09 +00:00
2006-03-06 15:27:50 +00:00
2021-09-15 20:44:16 +01:00
2009-05-18 16:17:31 +01:00
2014-07-13 14:23:09 +01:00
1999-11-02 13:51:42 +00:00
1999-11-02 13:58:56 +00:00
1999-11-02 13:58:56 +00:00
2008-01-31 17:33:54 +01:00
1999-11-02 13:51:42 +00:00
2021-07-28 12:30:12 -07:00
1999-11-02 13:51:42 +00:00
2000-02-01 10:34:35 +00:00
2010-02-15 06:56:07 -07:00
2021-01-01 16:36:09 +00:00
2017-10-01 17:32:48 -07:00
2005-04-04 21:59:58 +00:00
2021-01-01 16:36:09 +00:00
2003-04-10 07:15:38 +00:00
1999-11-02 14:07:36 +00:00
2000-04-04 20:15:42 +00:00
1999-11-02 14:07:36 +00:00
1999-11-02 13:58:56 +00:00
1999-11-02 13:58:56 +00:00
2015-10-27 17:25:12 +00:00
2015-11-28 21:13:35 +01:00
2020-10-25 13:31:37 +00:00
2012-07-22 13:01:03 +01:00
1999-11-02 14:07:36 +00:00
2009-02-15 10:17:19 +01:00
2004-11-25 12:30:03 +00:00
2009-05-18 16:17:31 +01:00
2006-03-06 15:27:50 +00:00
2006-03-06 15:27:50 +00:00
2006-03-06 15:27:50 +00:00
2021-01-01 16:36:09 +00:00
2021-09-15 15:26:22 +01:00
2000-02-01 10:34:35 +00:00
2021-09-15 20:44:16 +01:00
2006-03-06 15:27:50 +00:00
2006-03-06 15:27:50 +00:00
2006-03-06 15:27:50 +00:00
2007-10-07 19:44:38 +02:00
2006-03-06 15:27:50 +00:00
2012-11-24 15:38:16 +00:00
1999-11-02 13:58:56 +00:00
1999-11-02 14:07:36 +00:00
2009-11-06 16:54:12 +00:00
2013-02-04 23:40:32 +00:00
2013-01-24 01:38:17 +00:00
1999-11-02 13:58:56 +00:00
1999-11-02 14:07:36 +00:00
1999-11-02 14:07:36 +00:00
1999-11-02 13:58:56 +00:00
1999-11-02 14:07:36 +00:00
2008-04-01 12:06:05 +02:00
1999-11-02 13:58:56 +00:00
2006-03-06 15:27:50 +00:00
2017-02-09 21:52:23 -08:00
2012-01-03 11:36:32 +00:00
2021-01-01 16:36:09 +00:00
2006-03-06 15:27:50 +00:00
2007-03-29 21:37:06 +02:00
1999-11-02 14:07:36 +00:00
2021-09-15 20:44:16 +01:00
2021-09-15 20:44:16 +01:00
2021-09-15 20:44:16 +01:00
2021-09-15 20:44:16 +01:00
2021-09-15 20:44:16 +01:00
2005-01-04 11:21:36 +00:00
2006-08-08 22:22:47 +00:00
2006-03-06 15:27:50 +00:00
2015-10-19 00:05:18 +01:00
1999-11-02 13:58:56 +00:00
2019-06-10 22:59:28 +01:00
2021-01-01 16:36:09 +00:00
1999-11-02 14:07:36 +00:00
1999-11-02 13:58:56 +00:00
2015-03-05 12:21:50 +00:00
2021-01-03 13:57:36 +00:00
2015-11-28 21:13:35 +01:00
1999-11-02 14:07:36 +00:00
2018-06-14 12:07:38 -07:00
2017-05-03 18:17:48 -07:00
2008-01-31 17:33:54 +01:00
1999-11-02 13:58:56 +00:00
1999-11-02 14:07:36 +00:00
2009-02-22 10:16:15 -07:00
1999-11-02 13:58:56 +00:00
1999-11-02 14:07:36 +00:00
2007-07-10 19:00:00 +02:00
2003-04-10 07:15:29 +00:00
2012-07-22 10:59:36 +02:00
2006-03-06 15:27:50 +00:00
2000-04-04 20:18:42 +00:00
2015-10-27 17:25:12 +00:00
2000-02-01 10:34:35 +00:00
2006-01-30 21:11:06 +00:00
1999-11-02 14:07:36 +00:00
2021-09-15 15:26:22 +01:00
1999-11-02 14:07:36 +00:00