bug-coreutils
[Top][All Lists]
Advanced

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

quoted-printable [--decode]: it's time


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.




reply via email to

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