echo hi | tee one | tee two &
Dennis Williamson
2010-05-05 22:21:10
Problem: Fifos are blocking until opened for reading. So just open a read FD on them:
mkfifo one two
echo hi | tee one two &
exec 3<one
exec 4<two
cat <&3
cat <&4