Look at the "tee" program. Should be on your system..
wcn
Roy Souther wrote:
Anyone know how in BASH to split an STDOUT stream?
I want to take the output from a program and pipe it to two other
programs, one to log the binary stream to a file and the other to use
the binary stream as it normally would.
I could write a BASH script that does some complicated cat of proc fd
objects but I would like to know if there is a more efficient way first.
_______________________________________________
clug-talk mailing list
[email protected]
http://clug.ca/mailman/listinfo/clug-talk_clug.ca
Mailing List Guidelines (http://clug.ca/ml_guidelines.php)
**Please remove these lines when replying
|
_______________________________________________
clug-talk mailing list
[email protected]
http://clug.ca/mailman/listinfo/clug-talk_clug.ca
Mailing List Guidelines (http://clug.ca/ml_guidelines.php)
**Please remove these lines when replying