On Wed, 12 Dec 2007 10:27:03 GMT, Gerrit Pape writes: >Hrm, > > 23 Sep 2003: http://bugs.debian.org/212349 > 25 Mar 2006: http://bugs.debian.org/358942 > >what's _the_ tool in Debian to quoted-printable-encode files now?
sorry for being, hmm, a bit behind the bleeding edge...i just revisited the metamail issue for exmh and had to dig up an answer for your question, too. the answer seems that there is no ready, /small/ tool: base64 is in coreutils nowadays, but that doesn't help for qp. mime-codecs is history, mpack and others encapsulate whole mails but not decap an already given qp-string outside a mime message framework and so on. the only comprehensive tool i've found is recode: ready but not small. "recode data..b64" encodes stdin to base-64, "qp..data" decodes quoted-printable and so on. i've quickly cooked up a few lines of shell to emulate mimencode's commandline with recode; attached. regards az
mimencode
Description: application/shellscript
-- + Alexander Zangerl + DSA 42BD645D + (RSA 5B586291) Reporter (to Mahatma Gandhi): Mr Gandhi, what do you think of Western Civilization? Gandhi: I think it would be a good idea.
signature.asc
Description: Digital Signature