Hi There,
I have been fiddling with recipes for the last few days, reading docs, and
the archives, yet I am still plagued with a problem.
I would be very glad if you would be able to assist me.
I have a file that has the names of LISTSERV lists that I manage in it.
e.g
KIDCAFE-SCHOOL
KIDOK
(60 lists deleted)
I usually use a shell command to save me having to have huge shell scripts
when I want to do something for *each* list. (There are over 60 lists!)
I usually use something like:
for i in `cat $HOME/KIDSUBS/lists-nodak`
do
echo "GET $i (nolock" >> $HOME/.lists-nodak-getting
done
or something like that....
Now, when this comes to Procmail... I want to be able to read in the same
file with each line being a new variable that I can do a command on. As I
do in the above example.
The subject lines that I want to look at look like this:
File: "KIDCAFE-SCHOOL LIST"
Where KIDCAFE-SCHOOL could be any one of the variables/lines/listnames in
the file I mentioned earlier.
I want these files to then be simply put into separate files of the same
variable name.
so KIDCAFE-SCHOOL in the subject line goes to a file called KIDCAFE-SCHOOL.
I hope this is clear enough..I really do need to get this worked out asap.
It seems so easy..yuet I can't do it..oh well another learning curve
experience.
Thanx in advance,
***-*=*-*=*-*=*-*=*-*=*-*=*-**-*=*-*=*-*=*-*=*-*=*-***
*Nathan Willis :: http://www.nor.com.au/users/nathan/*
***-*=*-*=*-*=*-*=*-*=*-*=*-**-*=*-*=*-*=*-*=*-*=*-***