bug-coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

quoted-printable en/decoder, to complement base64


From: jidanni
Subject: quoted-printable en/decoder, to complement base64
Date: Wed, 15 Oct 2008 04:13:24 +0800

There should be a quoted-printable en/decoder, to complement base64.
Let's see what I was using for all these.
#!/bin/sh -e
#jidanni  *** replacement for mime-codecs package ***
case $0 in
    *qp-encode)    perl -MMIME::QuotedPrint -wne 'print encode_qp($_)';;
    *qp-decode)    perl -MMIME::QuotedPrint -wne 'print decode_qp($_)';;
    *base64-encode)perl -MMIME::Base64      -wne 'print encode_base64($_)';;
    *base64-decode)perl -MMIME::Base64      -wne 'print decode_base64($_)';;
    *)exit 88;;
esac




reply via email to

[Prev in Thread] Current Thread [Next in Thread]