Merge pull request #4418 from Gnouc/master
Encode64 Plugin - Fix wrong `echo` usage
This commit is contained in:
commit
b1173d4b30
|
@ -1,4 +1,4 @@
|
||||||
encode64(){ echo -n $1 | base64 }
|
encode64(){ printf '%s' $1 | base64 }
|
||||||
decode64(){ echo -n $1 | base64 --decode }
|
decode64(){ printf '%s' $1 | base64 --decode }
|
||||||
alias e64=encode64
|
alias e64=encode64
|
||||||
alias d64=decode64
|
alias d64=decode64
|
||||||
|
|
Loading…
Reference in a new issue