procmail
[Top] [All Lists]

Re: best way to edit a file from a procmail recipe

2007-03-03 20:59:00
On Mar 3, 2007, at 4:55 PM, David W. Tamkin wrote:

What's the best way to go about it?  Echoing commands to be piped  
to ed
or ex?  Writing the output of some other command (in my case, grep  
will
do the job) to a temporary file and then renaming the temporary one to
clobber the original?

sed?
perl -i?

What exactly do you mean by "edit"?

Aloha mai Nai`a!
-- 

"Please have your Internet License             <http://kapu.net/ 
~mjwise/>
   and Usenet Registration handy..."




____________________________________________________________
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