]> git.ipfire.org Git - thirdparty/coreutils.git/commit
md5sum,sha*sum: add --ignore-missing for checking a subset of files
authorLuther Thompson <lutheroto@gmail.com>
Sun, 22 Nov 2015 21:47:59 +0000 (21:47 +0000)
committerPádraig Brady <P@draigBrady.com>
Mon, 23 Nov 2015 12:58:10 +0000 (12:58 +0000)
commit9fd0662faa4db68dea4fb4ba3f918b6a8f9598c4
treead24dd918bd5eb04c1fff1584c622326a68b5ca5
parent561f759b01cedda112d696071d205d26b9196d89
md5sum,sha*sum: add --ignore-missing for checking a subset of files

* doc/coreutils.texi (md5sum invocation): Document the new option.
* src/md5sum.c (digest_file): Return an empty digest to indicate
a missing file.
(digest_check): Don't fail or output status given an empty checksum.
(usage): Document the new option.
(main): Process and validate the new option.
* tests/misc/md5sum.pl: Add new test cases.
* NEWS: Mention the new feature.
Fixes http://bugs.gnu.org/15604
NEWS
doc/coreutils.texi
src/md5sum.c
tests/misc/md5sum.pl