[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

SV: Wish: checksumming *sum filter

From: Ole Tange
Subject: SV: Wish: checksumming *sum filter
Date: Fri, 10 May 2019 13:13:45 +0000

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 <().


reply via email to

[Prev in Thread] Current Thread [Next in Thread]