Hi,

It seems `base64` inserts a carriage return ("Cg==") when encoding a string :

$ echo foobar|base64
Zm9vYmFyCg==

If this is the desired behaviour, it should at least be documented since it is not obvious (and BTW different from e.g. PHP base64_encode).

Confirmed with coreutils 8.23-4 under Debian and coreutils 2.24-8.fc23 under Fedora.

Regards,

Goulven Guillard.




Reply via email to