On Fri, 8 Aug 2014 09:14:33 -0500, Bill Godfrey wrote:
>
> ... OMVS ...
>
To many assembler programmers, that's a four-letter word.
>I use "printf" instead of "echo" because "echo" appends a newline which will
>also be converted to base64.
>
>printf "foo" | uuencode -m newfile
>
No. Rather:
printf "%s" "foo" | uuencode -m newfile
While your technique succeeds for your particular example, it's a bad habit to
form,
particularly with uncontrolled input data.
http://xkcd.com/327/
I was unaware of the (new?) "-m" option of uuncode. Thanks for enlightening me.
-- gil
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN