diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2005-07-19 07:34:26 +0000 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2005-07-19 07:34:26 +0000 |
commit | b6bf2399188fe3e8efbbd60645a9d1305014c6d3 (patch) | |
tree | c4d71cc26edb6b4a945b7977db54c67a14b56ac7 /doc | |
parent | cb0d1f9a60dd0ae601e266ad7e26bda567282994 (diff) | |
download | coreutils-b6bf2399188fe3e8efbbd60645a9d1305014c6d3.tar.xz |
(md5sum invocation): --check now allows multiple FILE inputs.
Diffstat (limited to 'doc')
-rw-r--r-- | doc/coreutils.texi | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/doc/coreutils.texi b/doc/coreutils.texi index 68e8e62c7..5245125d1 100644 --- a/doc/coreutils.texi +++ b/doc/coreutils.texi @@ -2983,11 +2983,10 @@ options}. If a @var{file} is specified as @samp{-} or if no files are given @command{md5sum} computes the checksum for the standard input. @command{md5sum} can also determine whether a file and checksum are -consistent. Synopses: +consistent. Synopsis: @example md5sum [@var{option}]@dots{} [@var{file}]@dots{} -md5sum [@var{option}]@dots{} --check [@var{file}] @end example For each @var{file}, @samp{md5sum} outputs the MD5 checksum, a flag @@ -3013,9 +3012,9 @@ for reading standard input when standard input is a terminal. @item -c @itemx --check -Read file names and checksum information from the single @var{file} -(or from stdin if no @var{file} was specified) and report whether -each named file and the corresponding checksum data are consistent. +Read file names and checksum information (not data) from each +@var{file} (or from stdin if no @var{file} was specified) and report +whether the checksums match the contents of the named files. The input to this mode of @command{md5sum} is usually the output of a prior, checksum-generating run of @samp{md5sum}. Each valid line of input consists of an MD5 checksum, a binary/text |