procmail
[Top] [All Lists]

Re: Overwrite files and eliminate headers

1996-02-08 18:15:46
David W. Tamkin <dattier(_at_)wwa(_dot_)com> wrote:
Er, not quite.  The recipe's action is not a simple save-to-folder, and
the command after the pipe does not have an append redirector (">>"), so
there is no implicit name for the local lockfile.

Indeed.

The solution is to specify a name for the local lockfile:

 :0b:savedfile.lock
 * ^Subject: saveme
 | cat > savedfile

However, putting a lockfile on a recipe like this is, of course, utterly
useless.  So you might as well omit the locking entirely.
-- 
Sincerely,                                                          
srb(_at_)cuci(_dot_)nl
           Stephen R. van den Berg (AKA BuGless).

"Listen very carefully, I shall only say this once."

<Prev in Thread] Current Thread [Next in Thread>