procmail
[Top] [All Lists]

Re: Get extra arguments from subject line

1998-11-17 04:25:06
On Tue, 17 Nov 1998, era eriksson wrote:

You want FILE="$MATCH.txt"

ahh... so this is the trick.
 
how about if the conditions are:

* ^Subject:.*get <dir> <number>

where <dir> and <number> are both variables (depending on the user)

example:

        get assign 1

        would fetch $HOME/assign/1.txt

        get result 1

        would fetch $HOME/result/1.txt


thanks for the tips!

---
u s l s N E T   university of st. la salle, bacolod city, philippines
. . . . . . .   PGP key available via e-mail / subject: get PGP key
francis vidal   tel. nos. (6334).435.2324 / 433.3526