From debbugs-submit-bounces@debbugs.gnu.org Fri May 18 10:49:55 2018 Received: (at submit) by debbugs.gnu.org; 18 May 2018 14:49:55 +0000 Received: from localhost ([127.0.0.1]:39916 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fJghf-0004Cd-Jd for submit@debbugs.gnu.org; Fri, 18 May 2018 10:49:55 -0400 Received: from eggs.gnu.org ([208.118.235.92]:33724) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fJghe-0004CQ-4J for submit@debbugs.gnu.org; Fri, 18 May 2018 10:49:54 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fJghX-0007UL-Tj for submit@debbugs.gnu.org; Fri, 18 May 2018 10:49:48 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:55028) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1fJghX-0007Tw-Qa for submit@debbugs.gnu.org; Fri, 18 May 2018 10:49:47 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:52928) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fJghW-0006uS-Ee for bug-coreutils@gnu.org; Fri, 18 May 2018 10:49:47 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fJghS-0007Of-Hk for bug-coreutils@gnu.org; Fri, 18 May 2018 10:49:46 -0400 Received: from che.mayfirst.org ([162.247.75.118]:55205) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1fJghS-0007N8-Dg for bug-coreutils@gnu.org; Fri, 18 May 2018 10:49:42 -0400 Received: from fifthhorseman.net (unknown [38.109.115.130]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by che.mayfirst.org (Postfix) with ESMTPSA id 34E5DF99B for ; Fri, 18 May 2018 10:49:34 -0400 (EDT) Received: by fifthhorseman.net (Postfix, from userid 1000) id E6B792052E; Fri, 18 May 2018 10:49:31 -0400 (EDT) From: Daniel Kahn Gillmor To: bug-coreutils@gnu.org Subject: please add null-terminated line output for sha256sum, sha1sum, etc Date: Fri, 18 May 2018 10:49:28 -0400 Message-ID: <87wow1j9xj.fsf@fifthhorseman.net> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 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: -6.0 (------) --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Hi GNU coreutils developers! This is a feature request for the hashing/digesting tools in coreutils, like sha256sum, sha1sum, md5sum, etc. currently, those tools emit line-oriented output about the files that they hash. if a file has a newline in the name, those tools emit output with a leading /, like so: 0 dkg@alice:~$ sha256sum a* 348df4eb47f9230bfe89637afe7409bec883424d822257b6cbbce93ee780d992 a 98ea6e4f216f2fb4b69fff9b3a44842c38686ca685f3f55dc48c5d3fb1107be4 a b \98ea6e4f216f2fb4b69fff9b3a44842c38686ca685f3f55dc48c5d3fb1107be4 a\nb\n 0 dkg@alice:~$=20 most users of sha256sum (etc) in shell scripts probably are unaware of this behavior and just cross their fingers and hope no file has a newline in its filename. However, other common tools have processing options that use NUL-terminated records. For example, sort (-z) and find (-print0) and xargs (-0) It would be nice if sha256sum (etc) had a comparable functionality to be able to fit better into pipelines with these other tools. So i'm proposing a flag -z, --zero-terminated for these tools that alters the output (and input) format, to use NUL chars instead of newlines. presumably when that flag is used, the emitted data should *not* be backslash-escaped. --dkg --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEARYKAB0WIQTTaP514aqS9uSbmdJsHx7ezFD6UwUCWv7n+QAKCRBsHx7ezFD6 U0nNAQC/uuvAJob9saosPRC14IOyYWNGRhybwHY7IfS5T3fhDAEAnoKhSezKQGa+ C9VLuT0zW45d5Yl0p7NbZpo6fDC8Ag0= =C+7H -----END PGP SIGNATURE----- --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Fri May 18 13:09:38 2018 Received: (at 31493) by debbugs.gnu.org; 18 May 2018 17:09:38 +0000 Received: from localhost ([127.0.0.1]:40026 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fJisr-0007S1-Sp for submit@debbugs.gnu.org; Fri, 18 May 2018 13:09:38 -0400 Received: from mail.magicbluesmoke.com ([82.195.144.49]:51788) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fJiso-0007Rq-GR for 31493@debbugs.gnu.org; Fri, 18 May 2018 13:09:34 -0400 Received: from localhost.localdomain (unknown [76.21.115.186]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.magicbluesmoke.com (Postfix) with ESMTPSA id C5B6D9DF6; Fri, 18 May 2018 18:09:32 +0100 (IST) Subject: Re: bug#31493: please add null-terminated line output for sha256sum, sha1sum, etc To: Daniel Kahn Gillmor , 31493@debbugs.gnu.org References: <87wow1j9xj.fsf@fifthhorseman.net> From: =?UTF-8?Q?P=c3=a1draig_Brady?= Message-ID: <6852c193-6462-1665-5da9-650cc0af7f51@draigBrady.com> Date: Fri, 18 May 2018 10:09:30 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 MIME-Version: 1.0 In-Reply-To: <87wow1j9xj.fsf@fifthhorseman.net> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 8bit X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 31493 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 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: -1.0 (-) On 18/05/18 07:49, Daniel Kahn Gillmor wrote: > So i'm proposing a flag -z, --zero-terminated for these tools that > alters the output (and input) format, to use NUL chars instead of > newlines. presumably when that flag is used, the emitted data should > *not* be backslash-escaped. This is a good suggestion I think. `...sum | sort` is a common operation for example. I'll do this for the upcoming release. cheers, Pádraig From debbugs-submit-bounces@debbugs.gnu.org Sun Jun 10 21:02:09 2018 Received: (at 31493) by debbugs.gnu.org; 11 Jun 2018 01:02:09 +0000 Received: from localhost ([127.0.0.1]:42673 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fSBDl-0005Jn-4I for submit@debbugs.gnu.org; Sun, 10 Jun 2018 21:02:09 -0400 Received: from mail.magicbluesmoke.com ([82.195.144.49]:41958) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fSBDi-0005Jd-3z for 31493@debbugs.gnu.org; Sun, 10 Jun 2018 21:02:07 -0400 Received: from localhost.localdomain (unknown [76.21.115.186]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.magicbluesmoke.com (Postfix) with ESMTPSA id A19D89BB2; Mon, 11 Jun 2018 02:02:04 +0100 (IST) Subject: Re: bug#31493: please add null-terminated line output for sha256sum, sha1sum, etc To: Daniel Kahn Gillmor , 31493@debbugs.gnu.org References: <87wow1j9xj.fsf@fifthhorseman.net> From: =?UTF-8?Q?P=c3=a1draig_Brady?= Message-ID: <0f9df6e2-e985-4d9e-0934-28cafb430aad@draigBrady.com> Date: Sun, 10 Jun 2018 18:02:02 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 MIME-Version: 1.0 In-Reply-To: <87wow1j9xj.fsf@fifthhorseman.net> Content-Type: multipart/mixed; boundary="------------FBA3BFE88E500E115CF743D8" X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 31493 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 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: -1.0 (-) This is a multi-part message in MIME format. --------------FBA3BFE88E500E115CF743D8 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 8bit On 18/05/18 07:49, Daniel Kahn Gillmor wrote: > Hi GNU coreutils developers! > > This is a feature request for the hashing/digesting tools in coreutils, > like sha256sum, sha1sum, md5sum, etc. > > currently, those tools emit line-oriented output about the files that > they hash. if a file has a newline in the name, those tools emit output > with a leading /, like so: > > 0 dkg@alice:~$ sha256sum a* > 348df4eb47f9230bfe89637afe7409bec883424d822257b6cbbce93ee780d992 a > 98ea6e4f216f2fb4b69fff9b3a44842c38686ca685f3f55dc48c5d3fb1107be4 a b > \98ea6e4f216f2fb4b69fff9b3a44842c38686ca685f3f55dc48c5d3fb1107be4 a\nb\n > 0 dkg@alice:~$ > > most users of sha256sum (etc) in shell scripts probably are unaware of > this behavior and just cross their fingers and hope no file has a > newline in its filename. > > However, other common tools have processing options that use > NUL-terminated records. For example, sort (-z) and find (-print0) and > xargs (-0) > > It would be nice if sha256sum (etc) had a comparable functionality to be > able to fit better into pipelines with these other tools. > > So i'm proposing a flag -z, --zero-terminated for these tools that > alters the output (and input) format, to use NUL chars instead of > newlines. presumably when that flag is used, the emitted data should > *not* be backslash-escaped. I used --zero rather than --zero-terminated like other tools that only change _output_ format with -z, rather than supporting it also as an _input_ format. It would complicate the processing to support --check of input with --zero, with no added functionality. Having --check support this format, would also an incompat with older versions of these tools. As an example of processing now possible, the following would robustly pass duplicate files to xargs for processing: $ md5sum src/md5sum.{c,c} -z | sort -z | uniq -z -d -w32 | cut -z -c35- | xargs -r0 src/md5sum.c cheers, Pádraig --------------FBA3BFE88E500E115CF743D8 Content-Type: text/x-patch; name="md5sum--zero.patch" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="md5sum--zero.patch" =46rom 53acd6c16a8c3af60dca17eeed50a6cf0c782904 Mon Sep 17 00:00:00 2001 From: =3D?UTF-8?q?P=3DC3=3DA1draig=3D20Brady?=3D Date: Sun, 10 Jun 2018 17:45:35 -0700 Subject: [PATCH] md5sum,b2sum,sha*sum: support -z,--zero option * doc/coreutils.texi (md5sum invocation): Describe the new option, and how it's not supported by --check, and how it disables escaping. * src/md5sum.c (delim): A new global to parmeterize the out delimiter. (main): Don't enable file name escaping with -z, and output '\0'. * tests/misc/md5sum-newline.pl: Add a test case. * NEWS: Mention the new feature. --- NEWS | 6 ++++++ doc/coreutils.texi | 13 ++++++++----- src/md5sum.c | 27 +++++++++++++++++++++++---- tests/misc/md5sum-newline.pl | 2 ++ 4 files changed, 39 insertions(+), 9 deletions(-) diff --git a/NEWS b/NEWS index 101afc0..e0f01ce 100644 --- a/NEWS +++ b/NEWS @@ -46,6 +46,12 @@ GNU coreutils NEWS = -*- outline -*- 'cp --force file symlink' now removes the symlink even if it is self referential. =20 +** New features + + md5sum accepts a new option: --zero (-z) to delimit the output lines w= ith a + NUL instead of a newline character. This also disables file name esca= ping. + This also applies to sha*sum and b2sum. + ** Improvements =20 cut supports line lengths up to the max file size on 32 bit systems. diff --git a/doc/coreutils.texi b/doc/coreutils.texi index c28b8d0..b18c6a5 100644 --- a/doc/coreutils.texi +++ b/doc/coreutils.texi @@ -3865,8 +3865,8 @@ a space, a flag indicating binary or text input mod= e, 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 +Without @option{--zero}, 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 unambiguous even in the presence of arbitrary file names. If @var{file} is omitted or specified as @samp{-}, standard input is rea= d. @@ -3899,6 +3899,7 @@ Three input formats are supported. Either the defa= ult 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. +Output with @option{--zero} enabled is not supported by @option{--check}= =2E @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 @@ -3947,9 +3948,9 @@ indicating there was a failure. @opindex --tag @cindex BSD output Output BSD style checksums, which indicate the checksum algorithm used. -As a GNU extension, file names with problematic characters -are escaped as described above, with the same escaping indicator of @sam= p{\} -at the start of the line, being used. +As a GNU extension, if @option{--zero} is not used, file names with prob= lematic +characters are escaped as described above, with the same escaping indica= tor of +@samp{\} at the start of the line, being used. The @option{--tag} option implies binary mode, and is disallowed with @option{--text} mode as supporting that would unnecessarily complicate the output format, while providing little benefit. @@ -3982,6 +3983,8 @@ When verifying checksums, if one or more input line is invalid, exit nonzero after all warnings have been issued. =20 +@optZero +Also file name escaping is not used. @end table =20 @exitstatus diff --git a/src/md5sum.c b/src/md5sum.c index a5c30d9..e41fb24 100644 --- a/src/md5sum.c +++ b/src/md5sum.c @@ -157,6 +157,9 @@ static bool strict =3D false; /* Whether a BSD reversed format checksum is detected. */ static int bsd_reversed =3D -1; =20 +/* line delimiter. */ +static unsigned char delim =3D '\n'; + #if HASH_ALGO_BLAKE2 static char const *const algorithm_in_string[] =3D { @@ -210,6 +213,7 @@ static struct option const long_options[] =3D { "warn", no_argument, NULL, 'w' }, { "strict", no_argument, NULL, STRICT_OPTION }, { "tag", no_argument, NULL, TAG_OPTION }, + { "zero", no_argument, NULL, 'z' }, { GETOPT_HELP_OPTION_DECL }, { GETOPT_VERSION_OPTION_DECL }, { NULL, 0, NULL, 0 } @@ -263,6 +267,10 @@ Print or check %s (%d-bit) checksums.\n\ -t, --text read in text mode (default)\n\ "), stdout); fputs (_("\ + -z, --zero end each output line with NUL, not newline,\n\ + and disable file name escaping\n\ +"), stdout); + fputs (_("\ \n\ The following five options are useful only when verifying checksums:\n\ --ignore-missing don't fail or report status for missing files\n\= @@ -875,10 +883,10 @@ main (int argc, char **argv) setvbuf (stdout, NULL, _IOLBF, 0); =20 #if HASH_ALGO_BLAKE2 - const char* short_opts =3D "l:bctw"; + const char* short_opts =3D "l:bctwz"; const char* b2_length_str =3D ""; #else - const char* short_opts =3D "bctw"; + const char* short_opts =3D "bctwz"; #endif =20 while ((opt =3D getopt_long (argc, argv, short_opts, long_options, NUL= L)) !=3D -1) @@ -930,6 +938,9 @@ main (int argc, char **argv) prefix_tag =3D true; binary =3D 1; break; + case 'z': + delim =3D '\0'; + break; case_GETOPT_HELP_CHAR; case_GETOPT_VERSION_CHAR (PROGRAM_NAME, AUTHORS); default: @@ -964,6 +975,13 @@ main (int argc, char **argv) usage (EXIT_FAILURE); } =20 + if (delim !=3D '\n' && do_check) + { + error (0, 0, _("the --zero option is not supported when " + "verifying checksums")); + usage (EXIT_FAILURE); + } + if (prefix_tag && do_check) { error (0, 0, _("the --tag option is meaningless when " @@ -1043,7 +1061,8 @@ main (int argc, char **argv) against old (hashed) outputs, in the presence of files containing '\\' characters, we decided to not simplify = the output in this case. */ - bool needs_escape =3D strchr (file, '\\') || strchr (file,= '\n'); + bool needs_escape =3D (strchr (file, '\\') || strchr (file= , '\n')) + && delim =3D=3D '\n'; =20 if (prefix_tag) { @@ -1079,7 +1098,7 @@ main (int argc, char **argv) print_filename (file, needs_escape); } =20 - putchar ('\n'); + putchar (delim); } } } diff --git a/tests/misc/md5sum-newline.pl b/tests/misc/md5sum-newline.pl index b76e2b8..a7ab2bd 100755 --- a/tests/misc/md5sum-newline.pl +++ b/tests/misc/md5sum-newline.pl @@ -30,10 +30,12 @@ system ('touch', "a\nb") =3D=3D 0 =20 my $degenerate =3D "d41d8cd98f00b204e9800998ecf8427e"; my $t =3D '--text'; +my $z =3D '--zero'; =20 my @Tests =3D ( ['newline', $t, {IN=3D> {"a\nb"=3D> ''}}, {OUT=3D>"\\$degenerate a= \\nb\n"}], + ['zero', $z, {IN=3D> {"a\nb"=3D> ''}}, {OUT=3D>"$degenerate a\nb\0= "}], ); =20 my $save_temps =3D $ENV{DEBUG}; --=20 2.9.3 --------------FBA3BFE88E500E115CF743D8-- From debbugs-submit-bounces@debbugs.gnu.org Mon Jun 11 16:39:39 2018 Received: (at 31493) by debbugs.gnu.org; 11 Jun 2018 20:39:39 +0000 Received: from localhost ([127.0.0.1]:43738 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fSTbH-0004Qb-6j for submit@debbugs.gnu.org; Mon, 11 Jun 2018 16:39:39 -0400 Received: from che.mayfirst.org ([162.247.75.118]:41783) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fSTbF-0004QT-2I for 31493@debbugs.gnu.org; Mon, 11 Jun 2018 16:39:37 -0400 Received: from fifthhorseman.net (unknown [38.109.115.130]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by che.mayfirst.org (Postfix) with ESMTPSA id D9660F99D; Mon, 11 Jun 2018 16:39:35 -0400 (EDT) Received: by fifthhorseman.net (Postfix, from userid 1000) id 465F82057D; Mon, 11 Jun 2018 16:17:35 -0400 (EDT) From: Daniel Kahn Gillmor To: =?utf-8?Q?P=C3=A1draig?= Brady , 31493@debbugs.gnu.org Subject: Re: bug#31493: please add null-terminated line output for sha256sum, sha1sum, etc In-Reply-To: <0f9df6e2-e985-4d9e-0934-28cafb430aad@draigBrady.com> References: <87wow1j9xj.fsf@fifthhorseman.net> <0f9df6e2-e985-4d9e-0934-28cafb430aad@draigBrady.com> Date: Mon, 11 Jun 2018 16:17:35 -0400 Message-ID: <87muw15b8g.fsf@fifthhorseman.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 31493 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 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: -1.0 (-) On Sun 2018-06-10 18:02:02 -0700, Pádraig Brady wrote: > I used --zero rather than --zero-terminated like other tools that > only change _output_ format with -z, rather than supporting it also > as an _input_ format. It would complicate the processing to support > --check of input with --zero, with no added functionality. > Having --check support this format, would also an incompat with > older versions of these tools. this looks like a fine first step to me, and i hope it will be merged. thanks for working on it, Pádraig! I'm not convinced yet that adding --zero for the --check functionality is a guaranteed incompatibility. Clearly the same flags would need to be used on both sides, but i don't see why having it available in --check would be a problem. --dkg From debbugs-submit-bounces@debbugs.gnu.org Mon Oct 29 23:29:30 2018 Received: (at 31493) by debbugs.gnu.org; 30 Oct 2018 03:29:30 +0000 Received: from localhost ([127.0.0.1]:52804 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gHKif-0005I1-SH for submit@debbugs.gnu.org; Mon, 29 Oct 2018 23:29:30 -0400 Received: from mail-pl1-f179.google.com ([209.85.214.179]:41718) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gHKic-0005Hi-7w; Mon, 29 Oct 2018 23:29:28 -0400 Received: by mail-pl1-f179.google.com with SMTP id p5-v6so4801180plq.8; Mon, 29 Oct 2018 20:29:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-language:content-transfer-encoding; bh=lBzBBxIliwUn8FTg4r9W/lzO/rYCYp54g/tXwpV5fKU=; b=PIjB/mqnJ+PxtLQYvADJ6VWQsAEwK46N6wy/CrDUZrOQdYAD2MX3765miZpzPpqZzo gB0coGtjhkf+Cf/2lSeMV6Mh/mJZpqJYkwg1HQPvFFJiK3o4nN5t0Y9BiDJeyGIB2q0q W/TG88ZgOsLO23jVosPtrNIRzPE+5jDigu5su2r38axf+Cfk541C4UWHrhsPpULhmKRp gaOc+pGbbv1lS6w7/thU47DWAR9037YgZthMywr7vHu6/Jpl567i/Uw1qlTpZ9yoaThV YltaE1uGAtXDDs1c5zpljzBosy4QNzs332QSuitgb/6wVm8jmcUHeUdRg0syXTISo5md gVxQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=lBzBBxIliwUn8FTg4r9W/lzO/rYCYp54g/tXwpV5fKU=; b=iG7HjUfoVVpDgLs2lM9sk0jrKqS72Q/Ul/4YTkzlF9hqXsvaXb86z/2gEgBtxuWqMp 1GLHs37kv4syo8MVu4EFUpQ3lyL/wd7Ura9PblW3NGZORROA5jb6K6d68kxff2Cg3j4g z/h68b5f1XDVsAFar/4QzqKe5trH+RlRn+wnZCzlqQ9u//CEBt0npqzhUu/uvwKgOkr/ 7p6v4fnSJv9lGdl/mKsBGLiSz0Z3vtjUAfRdpGObOz8zmiD4Xw4Dx5KjM0ViAt0ISEE6 NrUr63WlsKDnMPBEtY8pmr5RN5xLAeaDKbRu8QENyASqP8cnwJt1Lx2SZP13wAWyU9UK PBUg== X-Gm-Message-State: AGRZ1gIavvKwXurhQavpn5FJqhyYhOH+3OZho1HaA+jjgF0D61Ykzest 7VnT0nTxuFv9tU2L0tDA3sBMRXmdREU= X-Google-Smtp-Source: AJdET5eKnjUW+zmw0Ot1vAqObfFpmdS+hs4CtP60Uk3Owc2OEBFD0m9f/by0YiXz4EZ1XE+x351GXw== X-Received: by 2002:a17:902:443:: with SMTP id 61-v6mr16795142ple.216.1540870159800; Mon, 29 Oct 2018 20:29:19 -0700 (PDT) Received: from tomato.housegordon.com (moose.housegordon.com. [184.68.105.38]) by smtp.googlemail.com with ESMTPSA id c128-v6sm16489170pfb.147.2018.10.29.20.29.18 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 29 Oct 2018 20:29:18 -0700 (PDT) Subject: Re: bug#31493: please add null-terminated line output for sha256sum, sha1sum, etc To: 31493@debbugs.gnu.org References: <87wow1j9xj.fsf@fifthhorseman.net> <0f9df6e2-e985-4d9e-0934-28cafb430aad@draigBrady.com> <87muw15b8g.fsf@fifthhorseman.net> From: Assaf Gordon Message-ID: <95f8c45e-f0bb-2e76-1a2c-cc8886ff4cd2@gmail.com> Date: Mon, 29 Oct 2018 21:29:17 -0600 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.2.1 MIME-Version: 1.0 In-Reply-To: <87muw15b8g.fsf@fifthhorseman.net> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 31493 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 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: -1.0 (-) tags 31493 fixed close 31493 stop Pushed here: https://git.savannah.gnu.org/cgit/coreutils.git/commit/?id=c744c65f50e03846e037361d613a5d2b2e334b61 So closing as "fixed". -assaf From unknown Sun Jun 22 17:17:16 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Tue, 27 Nov 2018 12:24:14 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator