On Tue, 14 Oct 1997 22:40:35 +0300 (EET DST), I wrote:
<jari(_dot_)aalto(_at_)poboxes(_dot_)com> wrote:
var = `cat file`
:0 hwic
var=| cat file
If and how these two are different? Is the var=| depreciated now?
Why do you think that? var=| is actually often preferrable because in
simple cases such as this, it will not spawn a shell (Procmail will
just exec cat directly. See the documentation for SHELLMETAS).
Oops, I was wrong. (Thanks to David for pointing this out.) The
backticks will also not require a shell in the absence of any
SHELLMETAS. So the difference between the two notations is actually
pretty much none. (I would still prefer the pipe when I want to make
clear that the message is being fed to the command being executed.)
/* era */
--
Paparazzi of the Net: No matter what you do to protect your privacy,
they'll hunt you down and spam you. <http://www.iki.fi/~era/spam/>