On Thu, Jan 13, 2011 at 06:28:14PM -0600, Derek Martin wrote:
> On Thu, Jan 13, 2011 at 05:56:05PM -0600, Will Fiveash wrote:
> > I've been wanting to filter a message that is in quoted-printable format
> > to and convert it plain text.  Anyone know of a way I can do this that
> > is suitable for a Unix-style filter?
> > 
> 
> I believe this should do it (untested):
 
And, FWIW, the equivalent python:

-=-=-=-
#!/usr/bin/python
import sys, quopri
quopri.decode(sys.stdin,sys.stdout)
-=-=-=-

Love python.  It loves you!

-- 
Derek D. Martin    http://www.pizzashack.org/   GPG Key ID: 0xDFBEAD02
-=-=-=-=-
This message is posted from an invalid address.  Replying to it will result in
undeliverable mail due to spam prevention.  Sorry for the inconvenience.

Attachment: pgprCw9fpR6HT.pgp
Description: PGP signature

Reply via email to