Pádraig wrote:
:
> The fact that *sum would need to consume/buffer all the input would mean that
> the parallelism
> from the rest of the pipe is lost (well I suppose the process startup
> overhead is parallelized).
Just like sort/wc and *sum if used in a pipe today:
cat file | sha256sum | ...
> I.E. it's functionally equivalent to:
>
> Get_untrused_input > /tmp/blah
> sha256sum -c <(echo "$chksum /tmp/blah") &&
> ...
> rm /tmp/blah
Yes, except you can do it on a read-only file system and in a shell that does
not support <().
/Ole