procmail
[Top] [All Lists]

Re: bouncing to a bunch of people . . .

2003-03-16 09:33:06
Tony Svanstrom had a good idea for making the list easier to maintain, but he
got a UUCA in the process:

|  or just change `cat list.txt` to `cat list.txt | sed 's/$/\\/'`

Besides, that leaves much of the job undone.  Better,

 # Look, Ma, no $SHELLMETAS
 :0c # since the OP seemed to need a `c' here
 * conditions
 ! `sed -e '/"/ba'  -e 's/^/"/' -e 's/$/"/' -e:a -e '$ !s/$/ \\/' list.txt`


_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail