quoted-printable [--decode]: it's time (original) (raw)

[Top][All Lists]


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


From: jidanni
Subject: quoted-printable [--decode]: it's time
Date: Thu, 26 Nov 2009 04:38:11 +0800

OK, now that there is a base64(1) command, I could have sworn I also saw a quoted-printable command too [or else I wouldn't have deleted mine so fast :-(]. OK, I restored mine $ cat bin/qp-decode #!/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

And as $ apt-file search quoted-printable|wc -l 8 aren't coreutils, ("qp" finds even more), I hereby sure wish coreutils had one.