base64 fix
This commit is contained in:
parent
3a44873f3a
commit
ec454bdd47
1 changed files with 1 additions and 1 deletions
|
@ -10,7 +10,7 @@ decode64() {
|
||||||
if [[ $# -eq 0 ]]; then
|
if [[ $# -eq 0 ]]; then
|
||||||
cat | base64 --decode
|
cat | base64 --decode
|
||||||
else
|
else
|
||||||
printf '%s' $1 | base64 --decode
|
printf '%s' $1 | base64 -d
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
alias e64=encode64
|
alias e64=encode64
|
||||||
|
|
Loading…
Add table
Reference in a new issue