I know about
program1 | program2
and
program1 | tee outputfile | program2
but is there a way to feed prog
You can always try to save output of program1 to a file and then feed it into program2 and program3 input.
program1 > temp; program2 < temp; program3 < temp;