GNU bug report logs - #7254
md5sum,sha*sum: make --quiet and --warn independent

Previous Next

Package: coreutils;

Reported by: "Benno Schulenberg" <bensberg <at> justemail.net>

Date: Wed, 20 Oct 2010 20:12:02 UTC

Severity: wishlist

Tags: patch

To reply to this bug, email your comments to 7254 AT debbugs.gnu.org.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to owner <at> debbugs.gnu.org, bug-coreutils <at> gnu.org:
bug#7254; Package coreutils. (Wed, 20 Oct 2010 20:12:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to "Benno Schulenberg" <bensberg <at> justemail.net>:
New bug report received and forwarded. Copy sent to bug-coreutils <at> gnu.org. (Wed, 20 Oct 2010 20:12:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: "Benno Schulenberg" <bensberg <at> justemail.net>
To: bug-coreutils <at> gnu.org
Subject: [patch] making md5sum's --quiet and --warn independent, plus some
	comments
Date: Wed, 20 Oct 2010 22:09:20 +0200
[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)]

Severity set to 'wishlist' from 'normal' Request was from Assaf Gordon <assafgordon <at> gmail.com> to control <at> debbugs.gnu.org. (Tue, 30 Oct 2018 04:28:02 GMT) Full text and rfc822 format available.

Changed bug title to 'md5sum,sha*sum: maek --quiet and --warn independent' from '[patch] making md5sum's --quiet and --warn independent, plus some comments' Request was from Assaf Gordon <assafgordon <at> gmail.com> to control <at> debbugs.gnu.org. (Tue, 30 Oct 2018 04:28:02 GMT) Full text and rfc822 format available.

Changed bug title to 'md5sum,sha*sum: make --quiet and --warn independent' from 'md5sum,sha*sum: maek --quiet and --warn independent' Request was from Stefan Kangas <stefankangas <at> gmail.com> to control <at> debbugs.gnu.org. (Sun, 18 Sep 2022 14:49:02 GMT) Full text and rfc822 format available.

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.