From unknown Mon Jun 23 11:25:57 2025 X-Loop: help-debbugs@gnu.org Subject: bug#19725: Correction for md5sum manual page Resent-From: Terry Hoye Original-Sender: "Debbugs-submit" Resent-CC: bug-coreutils@gnu.org Resent-Date: Thu, 29 Jan 2015 17:10:04 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 19725 X-GNU-PR-Package: coreutils X-GNU-PR-Keywords: To: 19725@debbugs.gnu.org X-Debbugs-Original-To: "bug-coreutils@gnu.org" Reply-To: Terry Hoye Received: via spool by submit@debbugs.gnu.org id=B.14225513676463 (code B ref -1); Thu, 29 Jan 2015 17:10:04 +0000 Received: (at submit) by debbugs.gnu.org; 29 Jan 2015 17:09:27 +0000 Received: from localhost ([127.0.0.1]:57452 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YGsas-0001gA-TK for submit@debbugs.gnu.org; Thu, 29 Jan 2015 12:09:27 -0500 Received: from eggs.gnu.org ([208.118.235.92]:55503) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YGrhf-0000BR-2I for submit@debbugs.gnu.org; Thu, 29 Jan 2015 11:12:23 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YGrhT-0007bZ-Rh for submit@debbugs.gnu.org; Thu, 29 Jan 2015 11:12:16 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: ** X-Spam-Status: No, score=2.4 required=5.0 tests=BAYES_50,FORGED_YAHOO_RCVD, FREEMAIL_FROM,HTML_MESSAGE,T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:57912) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YGrhT-0007bP-PO for submit@debbugs.gnu.org; Thu, 29 Jan 2015 11:12:11 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:57208) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YGrhS-0007aX-TM for bug-coreutils@gnu.org; Thu, 29 Jan 2015 11:12:11 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YGrhN-0007ar-Tz for bug-coreutils@gnu.org; Thu, 29 Jan 2015 11:12:10 -0500 Received: from nm49-vm10.bullet.mail.bf1.yahoo.com ([216.109.114.251]:37345) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YGrhN-0007al-Qm for bug-coreutils@gnu.org; Thu, 29 Jan 2015 11:12:05 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1422547924; bh=4nhKZdFUM06gvIfpcMZhrVw4JyZZmvoNGy44gUIF9CM=; h=Date:From:Reply-To:To:Subject:From:Subject; b=LB+WLdYUHXZrv+mWNHb89MeJM1/8Bd6x1vE6cnjrZwyjekknAzdSRefPp5/wgBheA9oTbCN1L5cMTiPRfzMbeiD1ya/4/E+TKTkiBKhcwYNZGCLWwaE/1kEvkQx9gphR4TdRYuF/7XuRmSY/RDrfhc9PQk+AiHZsH6IA1+O40TFKRmKcGFqcDpW7euRCEYvlhpTZOluSH8K1zkLiyYANaYGQpoTtcKor155IyipGtCM/vVpFClAv1aOSvkr1Y6RgNBI2IxBMLjk8vrhR1buGqH8z6MI8FX9rezs0mDMM8wUbLBM8hcejDKN2VsOMDt4qDvuIiHKdvKtTs/aX2ZifcA== Received: from [98.139.215.143] by nm49.bullet.mail.bf1.yahoo.com with NNFMP; 29 Jan 2015 16:12:04 -0000 Received: from [98.139.212.238] by tm14.bullet.mail.bf1.yahoo.com with NNFMP; 29 Jan 2015 16:12:04 -0000 Received: from [127.0.0.1] by omp1047.mail.bf1.yahoo.com with NNFMP; 29 Jan 2015 16:11:58 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 691058.69332.bm@omp1047.mail.bf1.yahoo.com X-YMail-OSG: zlu1UlEVM1mQ0vB_58LCdNOJBzDu6B1gnNfu55k2B9HkXfGbhLsJn8lfhmOU16l T7Ix6yQYcEzYoTm4K8VE_wtmsziO7XojKF7aRt_AH_FrWNpNU70e913EzjSB9Cy5i6Rm.wa1Ev18 fgzusD14QCFPZ8GBr_U3F4x2N0TC7kZT_YIyt3Db3adECaV1iRhBVTInwokt1rhG0rJnxYNZLOtv fLE9vsmlV.7UDEH_pEA95R9EaYQIiIIe19xXkXU5lcPZHDR7JfbnRPpfzXQMobzOSO6HC4ACc82G s_yY3HR2cz_vMkju9f2DJB2aLPKWJLCvC_4m9RHMtUg8qamaWe9mR.v2KzQHIQebVJl2p.0XylVC .qvY6StFnNtLJ2emZRci0Qt9r_RbabnB1zfjnqX25.j8q2ToL6DrtT7AE6QGAhqePINMhHWZUDFr SVRAPLTSCdxE5YjYZlVPugDJy51Qtab1Rasj4t8Pz_cvrbAYh49ofmXoe5ySMpeyeUO6r7LEzsGE- Received: by 76.13.26.79; Thu, 29 Jan 2015 16:11:58 +0000 Date: Thu, 29 Jan 2015 16:11:57 +0000 (UTC) From: Terry Hoye Message-ID: <385959962.2467234.1422547917782.JavaMail.yahoo@mail.yahoo.com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_2467233_886431912.1422547917778" Content-Length: 3300 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -3.3 (---) X-Mailman-Approved-At: Thu, 29 Jan 2015 12:09:25 -0500 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) ------=_Part_2467233_886431912.1422547917778 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Regarding GNU coreutils 8.12.197-032bb=C2=A0=C2=A0=C2=A0 September 2011,=20 man md5sum states in part: [quote] The sums are computed as described in RFC=C2=A0 1321.=C2=A0=C2=A0 When=C2= =A0 checking,=C2=A0 the input=C2=A0 should=C2=A0 be a former output of this program.=C2=A0 The defa= ult mode is to print a line with checksum, a character=C2=A0 indicating=C2=A0 type=C2= =A0 (`*'=C2=A0 for binary, ` ' for text), and name for each FILE.[/quote] I think I am correct in the following observatiion: Taken literally, the second sentence is incorrect. The default mode has two characters, often both spaces, between the two stringsets. I don't think the algorithm works correctly with only one space between the= stringsets. Regards,TJ Hoye =C2=A0=C2=A0=C2=A0=20 ------=_Part_2467233_886431912.1422547917778 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable

Regard= ing GNU coreutils 8.12.197-032bb    September 2011,
man md5sum states in part:
[quot= e]
The sums are computed as described in RFC = 1321.   When  checking,  the
= input  should  be a former output of this program.  The defa= ult mode is
to print a line with checksum, a chara= cter  indicating  type  (`*'  for
binary, ` ' for text), an= d name for each FILE.[/quote]

I thi= nk I am correct in the following observatiion:
Taken literally, the second sentence is incorrect. The default mode has<= br style=3D"" class=3D"">
two ch= aracters, often both spaces, between the two stringsets.

I don't think the algorithm works correctly with only= one space between the stringsets.

Regards,
TJ Hoye
   

=

------=_Part_2467233_886431912.1422547917778-- From unknown Mon Jun 23 11:25:57 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.503 (Entity 5.503) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Terry Hoye Subject: bug#19725: closed (Re: bug#19725: Correction for md5sum manual page) Message-ID: References: <54CA853E.1000604@draigBrady.com> <385959962.2467234.1422547917782.JavaMail.yahoo@mail.yahoo.com> X-Gnu-PR-Message: they-closed 19725 X-Gnu-PR-Package: coreutils Reply-To: 19725@debbugs.gnu.org Date: Thu, 29 Jan 2015 19:09:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1422558542-17428-1" This is a multi-part message in MIME format... ------------=_1422558542-17428-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #19725: Correction for md5sum manual page which was filed against the coreutils package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 19725@debbugs.gnu.org. --=20 19725: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D19725 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1422558542-17428-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 19725-done) by debbugs.gnu.org; 29 Jan 2015 19:08:58 +0000 Received: from localhost ([127.0.0.1]:57515 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YGuSX-0004Wq-Hg for submit@debbugs.gnu.org; Thu, 29 Jan 2015 14:08:58 -0500 Received: from mail2.vodafone.ie ([213.233.128.44]:20768) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YGuSU-0004Wb-Qx for 19725-done@debbugs.gnu.org; Thu, 29 Jan 2015 14:08:55 -0500 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AkYJAHGEylRtTmib/2dsb2JhbABagwZSVAWDAcFahXIBAgKBJEMBAQEBAX2EDAEBAQMBI1sLCw0EAwECAQkWCwICCQMCAQIBPQgGAQwGAgEBiCAMAQPBdIVpkB8BAQEBBgEBAQEBAQEBGo9nDAwGgmKBQQWQT4EpT4ZuNoUBC4V/hXkiggMbgVA+MYJCAQEB Received: from unknown (HELO localhost.localdomain) ([109.78.104.155]) by mail2.vodafone.ie with ESMTP; 29 Jan 2015 19:08:46 +0000 Message-ID: <54CA853E.1000604@draigBrady.com> Date: Thu, 29 Jan 2015 19:08:46 +0000 From: =?UTF-8?B?UMOhZHJhaWcgQnJhZHk=?= User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.4.0 MIME-Version: 1.0 To: Terry Hoye , 19725-done@debbugs.gnu.org Subject: Re: bug#19725: Correction for md5sum manual page References: <385959962.2467234.1422547917782.JavaMail.yahoo@mail.yahoo.com> In-Reply-To: <385959962.2467234.1422547917782.JavaMail.yahoo@mail.yahoo.com> Content-Type: multipart/mixed; boundary="------------030906040104010800010600" X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 19725-done X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.0 (/) This is a multi-part message in MIME format. --------------030906040104010800010600 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit On 29/01/15 16:11, Terry Hoye wrote: > > Regarding GNU coreutils 8.12.197-032bb September 2011, > man md5sum states in part: > [quote] > The sums are computed as described in RFC 1321. When checking, the > input should be a former output of this program. The default mode is > to print a line with checksum, a character indicating type (`*' for > binary, ` ' for text), and name for each FILE.[/quote] > > I think I am correct in the following observation: > Taken literally, the second sentence is incorrect. The default mode has > two characters, often both spaces, between the two stringsets. True. The attached should make this more accurate. > I don't think the algorithm works correctly with only one space between the stringsets. Well --check still works in this case as it's switching to "bsd reversed" mode. I.E. supporting the output from `md5 -r` etc. I've made this clearer also, in the info docs. thanks, Pádraig. --------------030906040104010800010600 Content-Type: text/x-patch; name="check-sum-format.diff" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="check-sum-format.diff" =46rom ecc8f8104893f1eaae8a8e7e3e55c8c42f4c7206 Mon Sep 17 00:00:00 2001 From: =3D?UTF-8?q?P=3DC3=3DA1draig=3D20Brady?=3D Date: Thu, 29 Jan 2015 18:44:41 +0000 Subject: [PATCH] doc: clarify the output format for the *sum utilities * src/md5sum.c (usage): Detail the reasons for the default double space between checksum and file name. * doc/coreutils.texi (md5sum invocation): Likewise. Explicitly mention the 3 formats that --check supports. Fixes http://bugs.gnu.org/19725 --- doc/coreutils.texi | 15 ++++++++++----- src/md5sum.c | 6 +++--- 2 files changed, 13 insertions(+), 8 deletions(-) diff --git a/doc/coreutils.texi b/doc/coreutils.texi index 99c7df3..0a82b65 100644 --- a/doc/coreutils.texi +++ b/doc/coreutils.texi @@ -4057,8 +4057,11 @@ consistent. Synopsis: md5sum [@var{option}]@dots{} [@var{file}]@dots{} @end example =20 -For each @var{file}, @samp{md5sum} outputs the MD5 checksum, a flag -indicating binary or text input mode, and the file name. +For each @var{file}, @samp{md5sum} outputs by default, the MD5 checksum,= +a space, a flag indicating binary or text input mode, and the file name.= +Binary mode is indicated with @samp{*}, text mode with @samp{ } (space).= +Binary mode is the default on systems where it's significant, +otherwise text mode is the default. If @var{file} contains a backslash or newline, the line is started with a backslash, and each problematic character in the file name is escaped with a backslash, making the output @@ -4089,9 +4092,11 @@ Read file names and checksum information (not data= ) from each whether the checksums match the contents of the named files. The input to this mode of @command{md5sum} is usually the output of a prior, checksum-generating run of @samp{md5sum}. -Each valid line of input consists of an MD5 checksum, a binary/text -flag, and then a file name. -Binary mode is indicated with @samp{*}, text with @samp{ } (space). +Three input formats are supported. Either the default output +format described above, the @option{--tag} output format, +or the BSD reversed mode format which is similar to the default mode, +but doesn't use a character to distinguish binary and text modes. +@sp 1 For each such line, @command{md5sum} reads the named file and computes i= ts MD5 checksum. Then, if the computed message digest does not match the one on the line with the file name, the file is noted as having diff --git a/src/md5sum.c b/src/md5sum.c index a60e2ff..8c5f876 100644 --- a/src/md5sum.c +++ b/src/md5sum.c @@ -206,9 +206,9 @@ The following four options are useful only when verif= ying checksums:\n\ printf (_("\ \n\ The sums are computed as described in %s. When checking, the input\n\ -should be a former output of this program. The default mode is to print= \n\ -a line with checksum, a character indicating input mode ('*' for binary,= \n\ -space for text), and name for each FILE.\n"), +should be a former output of this program. The default mode is to print= a\n\ +line with checksum, a space, a character indicating input mode ('*' for = binary,\ +\n' ' for text or where binary is insignificant), and name for each FILE= =2E\n"), DIGEST_REFERENCE); emit_ancillary_info (PROGRAM_NAME); } --=20 2.1.0 --------------030906040104010800010600-- ------------=_1422558542-17428-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 29 Jan 2015 17:09:27 +0000 Received: from localhost ([127.0.0.1]:57452 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YGsas-0001gA-TK for submit@debbugs.gnu.org; Thu, 29 Jan 2015 12:09:27 -0500 Received: from eggs.gnu.org ([208.118.235.92]:55503) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YGrhf-0000BR-2I for submit@debbugs.gnu.org; Thu, 29 Jan 2015 11:12:23 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YGrhT-0007bZ-Rh for submit@debbugs.gnu.org; Thu, 29 Jan 2015 11:12:16 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: ** X-Spam-Status: No, score=2.4 required=5.0 tests=BAYES_50,FORGED_YAHOO_RCVD, FREEMAIL_FROM,HTML_MESSAGE,T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:57912) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YGrhT-0007bP-PO for submit@debbugs.gnu.org; Thu, 29 Jan 2015 11:12:11 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:57208) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YGrhS-0007aX-TM for bug-coreutils@gnu.org; Thu, 29 Jan 2015 11:12:11 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YGrhN-0007ar-Tz for bug-coreutils@gnu.org; Thu, 29 Jan 2015 11:12:10 -0500 Received: from nm49-vm10.bullet.mail.bf1.yahoo.com ([216.109.114.251]:37345) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YGrhN-0007al-Qm for bug-coreutils@gnu.org; Thu, 29 Jan 2015 11:12:05 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1422547924; bh=4nhKZdFUM06gvIfpcMZhrVw4JyZZmvoNGy44gUIF9CM=; h=Date:From:Reply-To:To:Subject:From:Subject; b=LB+WLdYUHXZrv+mWNHb89MeJM1/8Bd6x1vE6cnjrZwyjekknAzdSRefPp5/wgBheA9oTbCN1L5cMTiPRfzMbeiD1ya/4/E+TKTkiBKhcwYNZGCLWwaE/1kEvkQx9gphR4TdRYuF/7XuRmSY/RDrfhc9PQk+AiHZsH6IA1+O40TFKRmKcGFqcDpW7euRCEYvlhpTZOluSH8K1zkLiyYANaYGQpoTtcKor155IyipGtCM/vVpFClAv1aOSvkr1Y6RgNBI2IxBMLjk8vrhR1buGqH8z6MI8FX9rezs0mDMM8wUbLBM8hcejDKN2VsOMDt4qDvuIiHKdvKtTs/aX2ZifcA== Received: from [98.139.215.143] by nm49.bullet.mail.bf1.yahoo.com with NNFMP; 29 Jan 2015 16:12:04 -0000 Received: from [98.139.212.238] by tm14.bullet.mail.bf1.yahoo.com with NNFMP; 29 Jan 2015 16:12:04 -0000 Received: from [127.0.0.1] by omp1047.mail.bf1.yahoo.com with NNFMP; 29 Jan 2015 16:11:58 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 691058.69332.bm@omp1047.mail.bf1.yahoo.com X-YMail-OSG: zlu1UlEVM1mQ0vB_58LCdNOJBzDu6B1gnNfu55k2B9HkXfGbhLsJn8lfhmOU16l T7Ix6yQYcEzYoTm4K8VE_wtmsziO7XojKF7aRt_AH_FrWNpNU70e913EzjSB9Cy5i6Rm.wa1Ev18 fgzusD14QCFPZ8GBr_U3F4x2N0TC7kZT_YIyt3Db3adECaV1iRhBVTInwokt1rhG0rJnxYNZLOtv fLE9vsmlV.7UDEH_pEA95R9EaYQIiIIe19xXkXU5lcPZHDR7JfbnRPpfzXQMobzOSO6HC4ACc82G s_yY3HR2cz_vMkju9f2DJB2aLPKWJLCvC_4m9RHMtUg8qamaWe9mR.v2KzQHIQebVJl2p.0XylVC .qvY6StFnNtLJ2emZRci0Qt9r_RbabnB1zfjnqX25.j8q2ToL6DrtT7AE6QGAhqePINMhHWZUDFr SVRAPLTSCdxE5YjYZlVPugDJy51Qtab1Rasj4t8Pz_cvrbAYh49ofmXoe5ySMpeyeUO6r7LEzsGE- Received: by 76.13.26.79; Thu, 29 Jan 2015 16:11:58 +0000 Date: Thu, 29 Jan 2015 16:11:57 +0000 (UTC) From: Terry Hoye To: "bug-coreutils@gnu.org" Message-ID: <385959962.2467234.1422547917782.JavaMail.yahoo@mail.yahoo.com> Subject: Correction for md5sum manual page MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_2467233_886431912.1422547917778" Content-Length: 3300 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -3.3 (---) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Thu, 29 Jan 2015 12:09:25 -0500 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list Reply-To: Terry Hoye List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) ------=_Part_2467233_886431912.1422547917778 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Regarding GNU coreutils 8.12.197-032bb=C2=A0=C2=A0=C2=A0 September 2011,=20 man md5sum states in part: [quote] The sums are computed as described in RFC=C2=A0 1321.=C2=A0=C2=A0 When=C2= =A0 checking,=C2=A0 the input=C2=A0 should=C2=A0 be a former output of this program.=C2=A0 The defa= ult mode is to print a line with checksum, a character=C2=A0 indicating=C2=A0 type=C2= =A0 (`*'=C2=A0 for binary, ` ' for text), and name for each FILE.[/quote] I think I am correct in the following observatiion: Taken literally, the second sentence is incorrect. The default mode has two characters, often both spaces, between the two stringsets. I don't think the algorithm works correctly with only one space between the= stringsets. Regards,TJ Hoye =C2=A0=C2=A0=C2=A0=20 ------=_Part_2467233_886431912.1422547917778 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable

Regard= ing GNU coreutils 8.12.197-032bb    September 2011,
man md5sum states in part:
[quot= e]
The sums are computed as described in RFC = 1321.   When  checking,  the
= input  should  be a former output of this program.  The defa= ult mode is
to print a line with checksum, a chara= cter  indicating  type  (`*'  for
binary, ` ' for text), an= d name for each FILE.[/quote]

I thi= nk I am correct in the following observatiion:
Taken literally, the second sentence is incorrect. The default mode has<= br style=3D"" class=3D"">
two ch= aracters, often both spaces, between the two stringsets.

I don't think the algorithm works correctly with only= one space between the stringsets.

Regards,
TJ Hoye
   

=

------=_Part_2467233_886431912.1422547917778-- ------------=_1422558542-17428-1-- From unknown Mon Jun 23 11:25:57 2025 X-Loop: help-debbugs@gnu.org Subject: bug#19725: Correction for md5sum manual page Resent-From: Bernhard Voelker Original-Sender: "Debbugs-submit" Resent-CC: bug-coreutils@gnu.org Resent-Date: Fri, 30 Jan 2015 06:53:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 19725 X-GNU-PR-Package: coreutils X-GNU-PR-Keywords: To: 19725@debbugs.gnu.org, P@draigBrady.com, hoye@yahoo.com Received: via spool by 19725-submit@debbugs.gnu.org id=B19725.142260077430734 (code B ref 19725); Fri, 30 Jan 2015 06:53:01 +0000 Received: (at 19725) by debbugs.gnu.org; 30 Jan 2015 06:52:54 +0000 Received: from localhost ([127.0.0.1]:57718 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YH5Rm-0007zc-9B for submit@debbugs.gnu.org; Fri, 30 Jan 2015 01:52:54 -0500 Received: from mout.kundenserver.de ([212.227.126.131]:52833) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YH5Rk-0007zN-9x for 19725@debbugs.gnu.org; Fri, 30 Jan 2015 01:52:52 -0500 Received: from [192.168.1.10] ([84.175.81.114]) by mrelayeu.kundenserver.de (mreue002) with ESMTPSA (Nemesis) id 0MdifM-1Y2ryP2thc-00PPsX; Fri, 30 Jan 2015 07:52:41 +0100 Message-ID: <54CB2A39.6040903@bernhard-voelker.de> Date: Fri, 30 Jan 2015 07:52:41 +0100 From: Bernhard Voelker User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.4.0 MIME-Version: 1.0 References: <385959962.2467234.1422547917782.JavaMail.yahoo@mail.yahoo.com> <54CA853E.1000604@draigBrady.com> In-Reply-To: <54CA853E.1000604@draigBrady.com> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Provags-ID: V03:K0:nsnDSdiWlcZYkuBKCtlMHN+zjRIco8C0TbwotVCfYOYPPlXGEZY ks3t68139H0mY0f+ZaAJs3b4IemJoC8BF32XHdIvGvEMzmouiKzUAaJ35is6+aU6KER1Qev T3qZ+0sx5+5fbx8gTBYfOP03sMGvVlz1HkmVYvzGBpbPtTwP+8YFXg73+w8HMW3L1Zi+7UE m1U4YItk8lat/F7fGYZdA== X-UI-Out-Filterresults: notjunk:1; X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.0 (/) On 01/29/2015 08:08 PM, Pádraig Brady wrote: > [PATCH] doc: clarify the output format for the *sum utilities +1 Thanks & have a nice day, Berny