procmail
[Top] [All Lists]

Re: passing information to script

2008-01-12 00:32:01
On 11-Jan-2008, at 23:58, Markus Edholm wrote:
I cant figure out how to grab first http://blah and run my script


something like this should match the first http in your body, I think  
(untested)

:0
* B ?? http://\/[^ ]+
{ URL="http://$MATCH"; }


-- 
The Steve is seen, rightly or wrongly, as the visionary, the leader,  
the savant. Bill is the Boswell to The Steve’s Johnson, but lacking  
Boswell’s wit, charm, and dynamic personality.



____________________________________________________________
procmail mailing list   Procmail homepage: http://www.procmail.org/
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

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