David W. Tamkin <dattier(_at_)wwa(_dot_)com> wrote:
Stan Ryckman commented,
R> Here's another thought... even if it does write to stdout, couldn't you
R> then write instead?:
R> :0W:$SGHOMEU/eeyore.lock
R> | $SGHOMEX/eeyore.pl > /dev/null
It would fork a shell before starting perl.
Yes, you could. (Good idea, Stan.) In fact, if procmail is running in the
background on incoming mail, stdout of commands in action lines (except on
filter or capture recipes) usually vanishes anyway, doesn't it? At least my
experience seems to bear that out.
Yes. So you can do away with the redirection alltogether.
--
Sincerely,
srb(_at_)cuci(_dot_)nl
Stephen R. van den Berg (AKA BuGless).
A sign seen at the local pizza place: "DO NOT CARRY TAKE-OUT BOXES BY HANDLES"