Autor: Bradford Carpenter
Data:
Para: Exim-users
Assunto: Re: [exim]message content not seen in pipe in filters, working in
perl, not in shell
On Wed, 25 Aug 2004 22:46:01 -0400, xavier wrote:
> pipetest.sh :
>
> #!/bin/sh
> echo $@ > /tmp/testmsg
> cat >> /tmp/testmsg
> exit 0
I believe you want to use the tee command rather than echo $@. $@ just
gets you the parameters, not stdin.
Brad