Littlest uuencode

Hi, For your amusement, here's a very small uuencode program.

perl -0777 -e '$uue = pack u, <>; print "begin 0644 $ARGV\n${uue}end\n"' your-file.bin

1 Comment

We have this in Effective Perl Programming, although we also add a decoder program too. :)

Leave a comment

About Josh ben Jore

user-pic I blog about Perl.