[Toybox] uuen/decode

Rob Landley rob at landley.net
Sun Mar 17 21:34:14 PDT 2013


On 03/14/2013 09:04:18 PM, Erich Plondke wrote:
> Looks like I might be a bit late on this browsing the archives... but
> uuencode and uudecode implementations are attached.
> 
> Both passed basic tests.  Support both base64 and traditional format.
> 
> Also, I needed to put parens around min/max, but I think a better
> option was presented that didn't have the duplication problem for
> operands with side effects (like x++)

Timing.

I'm leaning towards the one with both encoding and decoding. Do you  
have test suite code (scripts/test/*.test), or should I come up with  
something here?

Rob


More information about the Toybox mailing list