tags:

views:

51

answers:

2
+1  A: 
echo hi | tee one | tee two &
Dennis Williamson
interesting. I actually wanted either cat one and cat two to be independent.
User1
+1  A: 

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
Jürgen Hötzel