2 Apr
2008
2 Apr
'08
5:46 p.m.
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, -- MJ Ray (slef) Webmaster for hire, statistician and online shop builder for a small worker cooperative http://www.ttllp.co.uk/ http://mjr.towers.org.uk/ (Notice http://mjr.towers.org.uk/email.html) tel:+44-844-4437-237