[colug-432] Process Substitution

jep200404 at columbus.rr.com jep200404 at columbus.rr.com
Tue May 3 21:10:56 EDT 2011

On Tue, 3 May 2011 23:58:35 +0000, "Matthew W. Miller" <mwmiller at columbus.rr.com> wrote:

> Oh, and I didn't know that <(stdin from command output) trick
> before.  Neat!

Grok this: 

   drive=/dev/dvdrw-sr0;readrawcd $drive | tee >(md5sum) >(sha1sum) >(sha256sum) >/dev/null;sleep 10;eject $drive

Replace readrawcd with dd. 

Read section 3.5.6  Process Substitution of 
and Chapter 23. Process Substitution of 

More information about the colug-432 mailing list