Chris G cl@isbd.net wrote:
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.
I see you solved it another way, but in general, in bash, ls / | tee >((tac >/tmp/file2)) | rev >/tmp/file1 is how you'd use non-linear pipes.
Hope that helps,