procmail
[Top] [All Lists]

Saving $MATCH

1995-12-09 13:08:14
I have been trying to save the value of $MATCH to a file, and have not been
having any luck with doing this.  Can offer any suggestions?

This is what i have been trying to do:

{
MAILDIR=$HOME/tmp
:0 hw
* ^Subject: save this \/[^.]*
|FILE=$MATCH|echo $FILE > temp

(some more recipes that work)
}

The log says it matches on the conditions leading to the PIPE, but then
skips the pipe and moves on.


--

Bill McClatchie 
wmcclatc(_at_)nox(_dot_)cs(_dot_)du(_dot_)edu   
http://nox.cs.du.edu:8001/~wmcclatc

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