summaryrefslogtreecommitdiff
path: root/doc/coreutils.texi
diff options
context:
space:
mode:
authorLuther Thompson <lutheroto@gmail.com>2015-11-22 21:47:59 +0000
committerPádraig Brady <P@draigBrady.com>2015-11-23 12:58:10 +0000
commit9fd0662faa4db68dea4fb4ba3f918b6a8f9598c4 (patch)
treead24dd918bd5eb04c1fff1584c622326a68b5ca5 /doc/coreutils.texi
parent561f759b01cedda112d696071d205d26b9196d89 (diff)
downloadcoreutils-9fd0662faa4db68dea4fb4ba3f918b6a8f9598c4.tar.xz
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
Diffstat (limited to 'doc/coreutils.texi')
-rw-r--r--doc/coreutils.texi8
1 files changed, 8 insertions, 0 deletions
diff --git a/doc/coreutils.texi b/doc/coreutils.texi
index 0e28f4971..7918aec6a 100644
--- a/doc/coreutils.texi
+++ b/doc/coreutils.texi
@@ -3830,6 +3830,14 @@ an MD5 checksum inconsistent with the associated file, or if no valid
line is found, @command{md5sum} exits with nonzero status. Otherwise,
it exits successfully.
+@item --ignore-missing
+@opindex --ignore-missing
+@cindex verifying MD5 checksums
+This option is useful only when verifying checksums.
+When verifying checksums, don't fail or report any status
+for missing files. This is useful when verifying a subset
+of downloaded files given a larger list of checksums.
+
@item --quiet
@opindex --quiet
@cindex verifying MD5 checksums