At 04:32 PM 4/10/97 -0500, David W. Tamkin wrote:
[snip]
If you know that there will be never be a global or regional lockfile in
effect at that point in your rcfile, it becomes simpler yet:
LOCKFILE=$SGHOMEU/eeyore.lock
:0HB
* ? $SGHOMEX/eeyore.pl
/dev/null
LOCKFILE
But here's a thought: does $SGHOMEX/eeyore.pl write to stdout? If not,
we can simplify it greatly by putting the perl call into the action line
as we do with formail -D:
:0W:$SGHOMEU/eeyore.lock
| $SGHOMEX/eeyore.pl
Here's another thought... even if it does write to stdout, couldn't you
then write instead?:
:0W:$SGHOMEU/eeyore.lock
| $SGHOMEX/eeyore.pl > /dev/null
Cheers,
Stan