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

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: coreutils; Severity: wishlist; Reported by: "Benno Schulenberg" <bensberg@HIDDEN>; Keywords: patch; dated Wed, 20 Oct 2010 20:12:02 UTC; Maintainer for coreutils is bug-coreutils@HIDDEN.
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@HIDDEN> to control <at> debbugs.gnu.org. Full text 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@HIDDEN> to control <at> debbugs.gnu.org. Full text available.
Severity set to 'wishlist' from 'normal' Request was from Assaf Gordon <assafgordon@HIDDEN> to control <at> debbugs.gnu.org. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 20 Oct 2010 20:11:30 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Oct 20 16:11:30 2010
Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.69)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1P8f0T-0006xI-U8
	for submit <at> debbugs.gnu.org; Wed, 20 Oct 2010 16:11:30 -0400
Received: from eggs.gnu.org ([140.186.70.92])
	by debbugs.gnu.org with esmtp (Exim 4.69)
	(envelope-from <bensberg@HIDDEN>) id 1P8euo-0006ug-H1
	for submit <at> debbugs.gnu.org; Wed, 20 Oct 2010 16:05:39 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <bensberg@HIDDEN>) id 1P8eyU-0005Iz-KF
	for submit <at> debbugs.gnu.org; Wed, 20 Oct 2010 16:09:27 -0400
X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,FREEMAIL_FROM,
	RCVD_IN_DNSWL_LOW, T_DKIM_INVALID,
	T_TO_NO_BRKTS_FREEMAIL autolearn=unavailable version=3.3.1
Received: from lists.gnu.org ([199.232.76.165]:55606)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <bensberg@HIDDEN>) id 1P8eyU-0005Iu-HN
	for submit <at> debbugs.gnu.org; Wed, 20 Oct 2010 16:09:26 -0400
Received: from [140.186.70.92] (port=52164 helo=eggs.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1P8eyS-0004Fz-Fn
	for bug-coreutils@HIDDEN; Wed, 20 Oct 2010 16:09:26 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <bensberg@HIDDEN>) id 1P8eyQ-0005Hw-Ms
	for bug-coreutils@HIDDEN; Wed, 20 Oct 2010 16:09:24 -0400
Received: from out1.smtp.messagingengine.com ([66.111.4.25]:36173)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <bensberg@HIDDEN>) id 1P8eyQ-0005HO-IO
	for bug-coreutils@HIDDEN; Wed, 20 Oct 2010 16:09:22 -0400
Received: from compute2.internal (compute2.nyi.mail.srv.osa [10.202.2.42])
	by gateway1.messagingengine.com (Postfix) with ESMTP id C44D2439
	for <bug-coreutils@HIDDEN>; Wed, 20 Oct 2010 16:09:20 -0400 (EDT)
Received: from web1.messagingengine.com ([10.202.2.211])
	by compute2.internal (MEProxy); Wed, 20 Oct 2010 16:09:20 -0400
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=messagingengine.com;
	h=message-id:from:to:mime-version:content-transfer-encoding:content-type:subject:date;
	s=smtpout; bh=p8ZJKHabwFe3hlEJazTTOSLgc7I=;
	b=TtfQaH8+6jdFukGCV0x9YmUvTWey8LJdzbCfgdeyriI/Zi/EbF4V5Uwt0zRuPGDhQUuHbMlJLpwQcqwRSv3gxGS28YrkQ/poP5MRcH5uuBuS005jlD2A264RV3M+ogTeupFmdHnZ+uYZtiY1Oymen5Oz+A6ZfuD3VgNUoQHpsk8=
Received: by web1.messagingengine.com (Postfix, from userid 99)
	id 9A6DB3D8F04; Wed, 20 Oct 2010 16:09:20 -0400 (EDT)
Message-Id: <1287605360.30586.1401101955@HIDDEN>
X-Sasl-Enc: WJJEV+Rm18OTQeGIwevrL5VrAL0dk/J0uWMZ1DHMIXzZ 1287605360
From: "Benno Schulenberg" <bensberg@HIDDEN>
To: bug-coreutils@HIDDEN
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Type: multipart/mixed; boundary="_----------=_1287605360305860"
X-Mailer: MessagingEngine.com Webmail Interface
Subject: [patch] making md5sum's --quiet and --warn independent, plus some
	comments
Date: Wed, 20 Oct 2010 22:09:20 +0200
X-detected-operating-system: by eggs.gnu.org: Genre and OS details not
	recognized.
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6, seldom 2.4 (older,
	4)
X-Spam-Score: -5.6 (-----)
X-Debbugs-Envelope-To: submit
X-Mailman-Approved-At: Wed, 20 Oct 2010 16:11:29 -0400
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.11
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>,
	<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <http://debbugs.gnu.org/pipermail/debbugs-submit>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>,
	<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Sender: debbugs-submit-bounces <at> debbugs.gnu.org
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
X-Spam-Score: -5.7 (-----)

This is a multi-part message in MIME format.

--_----------=_1287605360305860
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Type: text/plain; charset="us-ascii"
Date: Wed, 20 Oct 2010 16:09:20 -0400
X-Mailer: MessagingEngine.com Webmail Interface


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


--_----------=_1287605360305860
MIME-Version: 1.0
Content-Disposition: attachment; filename="0001-md5sum-make-the-options-warn-and-quiet-orthogonal.patch"
Content-Id: <PjOgdMqyLJ0S0ITzONfuFx4NGQA@HIDDEN>
Content-Transfer-Encoding: base64
Content-Type: text/x-patch; name="0001-md5sum-make-the-options-warn-and-quiet-orthogonal.patch"
X-Mailer: MIME::Lite 3.021 (F2.76; T1.24; A2.03; B3.07_01; Q3.07)
Date: Wed, 20 Oct 2010 16:09:20 -0400

RnJvbSA2MDA0MjRmMzZkMDU2Mzg4ZWFiMmM1ZmE5ZGYxZWFhNzliYzY4NmIy
IE1vbiBTZXAgMTcgMDA6MDA6MDAgMjAwMQpGcm9tOiBCZW5ubyBTY2h1bGVu
YmVyZyA8YmVuc2JlcmdAanVzdGVtYWlsLm5ldD4KRGF0ZTogVHVlLCAxOSBP
Y3QgMjAxMCAyMjoyMToyMSArMDIwMApTdWJqZWN0OiBbUEFUQ0ggMS8yXSBt
ZDVzdW06IG1ha2UgdGhlIG9wdGlvbnMgLS13YXJuIGFuZCAtLXF1aWV0IG9y
dGhvZ29uYWwKCiogc3JjL21kNXN1bS5jIChtYWluKTogQWxsb3cgLS13YXJu
IGFuZCAtLXF1aWV0IHRvIGJvdGggYmUgdHJ1ZTsKdGhlIG1vc3QgdXNlZnVs
IGNvbWJpbmF0aW9uIHdoZW4gY2hlY2tpbmcgYSBsb25nIGxpc3Qgb2YgZmls
ZXMuCi0tLQogc3JjL21kNXN1bS5jIHwgICAgMiAtLQogMSBmaWxlcyBjaGFu
Z2VkLCAwIGluc2VydGlvbnMoKyksIDIgZGVsZXRpb25zKC0pCgpkaWZmIC0t
Z2l0IGEvc3JjL21kNXN1bS5jIGIvc3JjL21kNXN1bS5jCmluZGV4IGE2NjBl
M2IuLjBiOGEyMGUgMTAwNjQ0Ci0tLSBhL3NyYy9tZDVzdW0uYworKysgYi9z
cmMvbWQ1c3VtLmMKQEAgLTY0NiwxMSArNjQ2LDkgQEAgbWFpbiAoaW50IGFy
Z2MsIGNoYXIgKiphcmd2KQogICAgICAgY2FzZSAndyc6CiAgICAgICAgIHN0
YXR1c19vbmx5ID0gZmFsc2U7CiAgICAgICAgIHdhcm4gPSB0cnVlOwotICAg
ICAgICBxdWlldCA9IGZhbHNlOwogICAgICAgICBicmVhazsKICAgICAgIGNh
c2UgUVVJRVRfT1BUSU9OOgogICAgICAgICBzdGF0dXNfb25seSA9IGZhbHNl
OwotICAgICAgICB3YXJuID0gZmFsc2U7CiAgICAgICAgIHF1aWV0ID0gdHJ1
ZTsKICAgICAgICAgYnJlYWs7CiAgICAgICBjYXNlX0dFVE9QVF9IRUxQX0NI
QVI7Ci0tIAoxLjYuMy4zCgo=

--_----------=_1287605360305860
MIME-Version: 1.0
Content-Disposition: attachment; filename="0002-md5sum-remove-strange-sentence-from-description-of-w.patch"
Content-Id: <Gk8SS63+FGFfyp+hDRv5GyXNRAA@HIDDEN>
Content-Transfer-Encoding: base64
Content-Type: text/x-patch; name="0002-md5sum-remove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XMuCi1UaGlzIG9wdGlvbiBp
cyB1c2VmdWwgb25seSBpZiBhbGwgYnV0IGEgZmV3IGxpbmVzIGluIHRoZSBj
aGVja2VkIGlucHV0Ci1hcmUgdmFsaWQuCitXaGVuIHZlcmlmeWluZyBjaGVj
a3N1bXMsIHdhcm4gYWJvdXQgZWFjaCBpbXByb3Blcmx5IGZvcm1hdHRlZCBN
RDUKK2NoZWNrc3VtIGxpbmUsIGluY2x1ZGluZyB0aGUgbGluZSBudW1iZXIg
aW4gdGhlIG1lc3NhZ2UuCiAKIEBlbmQgdGFibGUKIAotLSAKMS42LjMuMwoK

--_----------=_1287605360305860--





Acknowledgement sent to "Benno Schulenberg" <bensberg@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-coreutils@HIDDEN. Full text available.
Report forwarded to owner <at> debbugs.gnu.org, bug-coreutils@HIDDEN:
bug#7254; Package coreutils. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Sun, 18 Sep 2022 15:00:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.