diff options
author | Patrick Schoenfeld <schoenfeld@debian.org> | 2011-07-07 08:57:39 +0200 |
---|---|---|
committer | Jim Meyering <meyering@redhat.com> | 2011-07-07 16:42:47 +0200 |
commit | 33171d049a162ca5648c7e213e9c988ea835a19b (patch) | |
tree | 77022f7d0ceff372e08a61248a97ed7d94441b74 /lib/ChangeLog-2007 | |
parent | 88bdce982a99238b5320eca4e19d86fd364419ee (diff) | |
download | coreutils-33171d049a162ca5648c7e213e9c988ea835a19b.tar.xz |
md5sum, sha1sum, etc: accept new option: --strict
Use this new option with --check when the input is expected to
consist solely of checksum lines. With only --check, an invalid
line evokes a warning, but the program can still exit successfully.
With --strict, any invalid line makes the program exit non-zero.
* src/md5sum.c (strict, STRICT_OPTION): Declare/define.
(long_options): Add "strict".
(usage): Describe --strict.
(digest_check): Count improperly_formatted lines, too, and use
that number and the global "strict" to determine the return value.
(main): Handle STRICT_OPTION.
Reject --strict without --check.
* doc/coreutils.texi: Describe it.
* NEWS (New features): Mention it.
Diffstat (limited to 'lib/ChangeLog-2007')
0 files changed, 0 insertions, 0 deletions