Commit Graph

4 Commits

Author SHA1 Message Date
LE Manh Cuong 758195cb79 Encode64 Plugin - Fix wrong `echo` usage
Currently, encode64 plugin using `echo -n` to print the content
of $1 variable. This approach will not work with arbitrary data,
which contains sequence of escaped characters, since when many
`echo` implementation will expand them.

This commit chage the usage to `printf`, which is builtin in all
POSIX shells and can print arbitrary data reliability.
2015-09-28 16:05:22 +07:00
Ashley Snowdon 6c6072c492 Modified to use full parameter as newer versions of base64 uses lowercase D 2013-03-13 11:21:43 +00:00
Vitaliy Yanchuk 43c0921693 More usable and shorter aliases 2012-06-14 13:31:00 +03:00
Vitaliy Yanchuk db27635d8b Plugin for encoding strings into base64 and decoding them 2012-03-16 14:10:37 +02:00