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

now that they have taken away qp-decode, base64-decode



Now that they have taken away the mime-codecs package, is there some
command line replacement, or does each user have to cobble together
their own,

#!/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 to: