help-bash
[Top][All Lists]
Advanced

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

Re: [Help-bash] Duplicate one stdin as inputs to multiple programs witho


From: Peng Yu
Subject: Re: [Help-bash] Duplicate one stdin as inputs to multiple programs without creating temp files
Date: Mon, 13 Feb 2012 00:07:07 -0600

> tee <file >(prog1) >(prog2) >(prog3) >/dev/null

Great. If I have 'prog' that accepts two input streams (as command
line arguments), I want to supply the same stdin to it, is there a way
to do so?

prog1 file file # I do this with a temp file. How do it with the same
stdin input?

-- 
Regards,
Peng



reply via email to

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