version 1.0.0, 2013-10-24 : Initial version
Encode and decode using quoted-printable in perlOne-liners to encode and decode input strings or text files using the "quoted-printable" (aka: qp) format.
We are using the "MIME" Perl module here. As it is a core module, it should normally be installed on every systems where perl is installed.
For more informations about this encoding, consult the dedicated Wikipedia page
This sentence returns the qp encoded version of the input (from a file or a pipe.).
perl -MMIME::QuotedPrint=encode_qp -e 'print encode_qp join"",<>'
This sentence returns the decoded version of a qp encoded input (from a file or a pipe.).
perl -MMIME::QuotedPrint=decode_qp -e 'print decode_qp join"",<>'