GNU bug report logs -
#7254
md5sum,sha*sum: make --quiet and --warn independent
Previous Next
Full log
View this message in rfc822 format
[Message part 1 (text/plain, inline)]
Hi,
When the command 'md5sum -c longlist --quiet' would result
in the message "WARNING: 1 line is improperly formatted",
then the subsequent command to find out which line is wrong
'md5sum -c longlist --quiet --warn' results in an unexpected
barrage of output. It would be much nicer if --warn did not
undo the effect of --quiet, so the report of the misformatted
line does not get swamped in a long list of okays. Attached
first patch makes this change.
(To be fully logical, the above probably has to be extended
to make --status always override --warn and --quiet and not
be overridden by them, otherwise the order '--warn --status
--quiet' would do something else than '--quiet --status
--warn'.)
The second patch improves the description of '--warn'. In
my opinion the option is always useful, not only when just a
few lines are misformatted -- and it would be handy if it were
the default.
By the way, why is there a short option for --warn, but not
for --quiet and --status?
Regards,
Benno
--
http://www.fastmail.fm - Send your email first class
[0001-md5sum-make-the-options-warn-and-quiet-orthogonal.patch (text/x-patch, attachment)]
[0002-md5sum-remove-strange-sentence-from-description-of-w.patch (text/x-patch, attachment)]
This bug report was last modified 2 years and 271 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.