Decoding email’s quoted-printable with Perl

This post was written by eli on December 20, 2020
Posted Under: email,Linux,perl

To make it short, the command at shell prompt is

$ perl -MMIME::QuotedPrint -e 'local $/; $x=<>; print decode_qp($x)' < quoted.txt > unquoted.html

and I needed this to extract an HTML segment of an email.

Add a Comment

required, use real name
required, will not be published
optional, your blog address