md5sum,b2sum,sha*sum: support -z,--zero option
commitc744c65f50e03846e037361d613a5d2b2e334b61
authorPádraig Brady <P@draigBrady.com>
Mon, 11 Jun 2018 00:45:35 +0000 (10 17:45 -0700)
committerPádraig Brady <P@draigBrady.com>
Thu, 21 Jun 2018 04:01:14 +0000 (20 21:01 -0700)
tree2b87b8a8dbbbc3327e32da2fc618e776e7680817
parent77517a99179b728c6369341b0d36568bac5d7914
md5sum,b2sum,sha*sum: support -z,--zero option

* doc/coreutils.texi (md5sum invocation): Describe the new option,
and how it's not supported by --check, and how it disables escaping.
* src/md5sum.c (delim): A new global to parmeterize the out delimiter.
(main): Don't enable file name escaping with -z, and output '\0'.
* tests/misc/md5sum-newline.pl: Add a test case.
* NEWS: Mention the new feature.
NEWS
doc/coreutils.texi
src/md5sum.c
tests/misc/md5sum-newline.pl