Alex Pilon dixit:
>I know the trick. I used base64 for that, not uuencode. Don't they
>both have the same overhead, other than uuencode's header?
Yes but uuencode is more portable… e.g. the Linux “base64” tool is
rarely installed anywhere and is extremely picky about the formatting
of its input; OpenBSD has b64decode but it demands header lines similar
to uuencode (MirBSD has b64decode -r which is not picky either – but
that’s only in MirBSD of course).
Nowadays, uuencode (“sharutils”) is not installed everywhere any more
by default, but it’s still the most widespread portable one and usually
easy to get if it’s not yet there.
Meh, maybe I should write a shell uu{en,de}code implementation and
put it into the standard .mkshrc I ship…
bye,
//mirabilos
--
This space for rent.
Received on Fri Oct 18 2013 - 01:22:48 CEST