reverse-tee, or, merging stdout's
Jim Balter
jim at segue.segue.com
Mon Apr 22 08:16:48 AEST 1991
In article <1991Apr19.182517.199 at rathe.cs.umn.edu> ian at rathe.cs.umn.edu (Ian Hogg) writes:
> Maybe this will work:
>
> prog1 arg1 arg2 | (cat ; prog2 arg3 arg4 arg5) | prog3
and maybe it won't. If you have doubts, why not try it before posting?
What will work are
prog1 arg1 arg2 | (cat - ; prog2 arg3 arg4 arg5) | prog3
and
( prog1 arg1 arg2 ; prog2 arg3 arg4 arg5) | prog3
More information about the Comp.unix.questions
mailing list