cat /dev/ttya | tee /fifo.file1 | cat > /fifo.file2 &
You can most likely get rid of the second cat, because '| cat >' is the same as '>', wrt functionality:
$ echo foo | cat > myfile $ cat myfile foo $ echo foo > myfile $ cat myfile foo
In reply to Re^3: serial port bridge (virtual)
by Eliya
in thread serial port bridge (virtual)
by steve_thorley
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |