From 79d6ddd36a8c0994410147d24b7fc956f174f8b4 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Thu, 16 Nov 1995 06:18:17 +0000 Subject: [PATCH] Fix up description of md5sum --check. --- doc/textutils.texi | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) diff --git a/doc/textutils.texi b/doc/textutils.texi index 8d06b31532..a3909fa351 100644 --- a/doc/textutils.texi +++ b/doc/textutils.texi @@ -1609,19 +1609,25 @@ one on the line with the filename, the file is noted as having failed the test. Otherwise, the file passes the test. By default, for each valid line, one line is written to standard output indicating whether the named file passed the test. +After all checks have been performed, if there were any failures, +a warning is issued to standard error. Use the @samp{--status} option to inhibit that output. If any listed file cannot be opened or read, if any valid line has -a MD5 checksum inconsistent with the associated file, or if no valid -line is found, exit with a non-zero status. Otherwise, exit successfully. +an MD5 checksum inconsistent with the associated file, or if no valid +line is found, @code{md5sum} exits with non-zero status. Otherwise, +it exits successfully. @itemx --status @opindex --status @cindex verifying MD5 checksums -When verifying checksums, don't generate any output. +This option is useful only when verifying checksums. +When verifying checksums, don't generate the default one-line-per-file +diagnostic and don't output the warning summarizing any failures. +Failures to open or read a file still evoke individual diagnostics to +standard error. If all listed files are readable and are consistent with the associated MD5 checksums, exit successfully. Otherwise exit with a status code -indicating there was a failure. Failures to open or read a file still -evoke diagnostics to standard error. +indicating there was a failure. @itemx --string=@var{string} @opindex --string -- 2.47.3