[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#7254: [patch] making md5sum's --quiet and --warn independent, plus s
From: |
Benno Schulenberg |
Subject: |
bug#7254: [patch] making md5sum's --quiet and --warn independent, plus some comments |
Date: |
Wed, 20 Oct 2010 22:09:20 +0200 |
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
Description: Text Data
0002-md5sum-remove-strange-sentence-from-description-of-w.patch
Description: Text Data
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- bug#7254: [patch] making md5sum's --quiet and --warn independent, plus some comments,
Benno Schulenberg <=