GNU bug report logs - #31493
please add null-terminated line output for sha256sum, sha1sum, etc

Previous Next

Package: coreutils;

Reported by: Daniel Kahn Gillmor <dkg <at> fifthhorseman.net>

Date: Fri, 18 May 2018 14:50:01 UTC

Severity: normal

Tags: fixed

Done: Assaf Gordon <assafgordon <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


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

From: Pádraig Brady <P <at> draigBrady.com>
To: Daniel Kahn Gillmor <dkg <at> fifthhorseman.net>, 31493 <at> debbugs.gnu.org
Subject: Re: bug#31493: please add null-terminated line output for sha256sum, 
 sha1sum, etc
Date: Fri, 18 May 2018 10:09:30 -0700
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




This bug report was last modified 6 years and 209 days ago.

Previous Next


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