Subject: Re: bug#11487: coreutils:base64

From: Eric Blake <[email-masked]>
Date: Wed, 16 May 2012 10:32:21 -0600

merge 11486 11487
tag 11487 notabug
close 11487
thanks

On 05/16/2012 07:25 AM, Marsaleix Thomas wrote:
> 		rehello,
> 	That's ok, my problem come from new line.
> 	echo "è" | base64 
> is:
> 	"è\n" | base64 
> and:	echo -n "è" | base64 works better.

Glad to hear you figured it out, and that it is not a bug.  I'm closing
this report.

As a side note, 'echo -n' is not portable.  You should really get in the
habit of using 'printf' instead.

-- 
Eric Blake   [email-masked]    +1-919-301-3266
Libvirt virtualization library http://libvirt.org