I want to send standard input to two places, both of which are shell (well, actually python and perl) scripts. I assume I need to use tee but it's not obvious how to do it.
My actual requirement is for .forward to send incoming mail messages to an (old) perl script and a (new, replacement) python script while I write and debug the new python script.
The existing .forward file is:-
| /home/isbd/bin/filter.pl
How do I change this so it sends its standard input to both /home/isbd/bin/filter.pl *and* /home/isbd/bin/filter.py?