"David W. Tamkin" <dattier(_at_)Mcs(_dot_)Net> writes:
Bill Moseley's questions included forwarding to an address where MATCH
contained not the destination address itself but rather the name of the
variable whose value was the destination address; in other words, he had to
accomplish this action line:
| eval '"$SENDMAIL"' "$SENDMAILFLAGS" \${$MATCH} ;
which, as I wrote it, requires a semicolon to force a shell because "eval" is
not an executable in $PATH.
Can that be done without a shell, with no forks other than calling the MTA?
I can think of two ways, both of which have drawbacks that might be worse
than calling a shell:
How about:
:0
* $ $MATCH ?? ^^\/.*
! $MATCH
Philip Guenther