On Tue, 20 Nov 2007 at 10:39:33PM +0000, Adrian Bridgett wrote:
>
> Sounds nasty - I hate figuring out how to join the FDs together.
>
> "multitee" might come in handy.
>
> These unfortunately don't help me that much. I know how I _want_ to
> tie them together, just not how to do it using shell syntax as opposed
> to fifos.
$ rm -f scratch
(command | tee -a scratch | grep foo) 3>&1 1>&2 2>&3 | tee -a scratch
--
Adam Trickett
Overton, HANTS, UK
When a Microsoft product is the lesser of two evils, you know for
sure that there's something fishy going on.
-- anon