On 1/31/07, Roy Souther <[EMAIL PROTECTED]> 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.
Perhaps this will help? from: http://en.wikipedia.org/wiki/Bash#I.2FO_redirection # make Filedescriptor(FD) 6 a copy of stdout (FD 1) exec 6>&1 -Mark _______________________________________________ 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

