bug#31493: please add null-terminated line output for sha256sum, sha1sum
From:
Pádraig Brady
Subject:
bug#31493: please add null-terminated line output for sha256sum, sha1sum, etc
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
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