I am a Procmail and UNIX novice. I have, with much labor, gotten
Procmail up and running and successfully forwarding email the way I
want it to (I'm not using Procmail for an LDA; I'm using it to,
hopefully, filter, modify and redirect email). Now I need some advice
on how to get the actual meat of what I want done working.
Specifically, I want to change certain bits of the body of my emails.
In particular, I want to change things like
<br><br>--<br> Posted By Calion to <a
href="http://homepage.mac.com/calion/blog/thoughts/2007/07/here-we-
go.html"> Genius/Idiot&mdash;Current Thoughts </a> at 7/06/2007
02:10:00 PM
to
<br><br>--<br><font color="gray" size="2"> Posted By Calion to <a
href="http://homepage.mac.com/calion/blog/thoughts/2007/07/here-we-
go.html"> Genius/Idiot—Current Thoughts </a> at 7/06/2007
02:10:00 PM</font>
In other words, add some bits (the font tags) and subtract some other
bits (the foolish and extraneous "amp" blogger has started
adding...arg).
What is the best way to go about doing this? sed? awk? Something else?
Any clues on how I would figure out exactly how to do this, besides
just reading the manpages?
Thanks,
Jim
--
Ron Paul President 2008!
It is time for President Paul!
The only candidate who defends liberty and the
Constitution!
http://ronpaul2008.com
Visit Jim's Web Portal: http://homepage.mac.com/calion/
____________________________________________________________
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