Another BusyBox-based fixed

This commit is contained in:
Lea 2025-07-06 22:03:35 +02:00
parent 84f29acbba
commit 55e1e973fb

View file

@ -314,7 +314,7 @@ function daisy_enc_multi()
function daisy_dec() function daisy_dec()
{ {
data=$(cat ${1:-/dev/stdin} | sed -e 's/.*=\"//g' | grep -v "#" | tr -d '\"' | tr -d "'" | tr '-' '\n' ) data=$(cat ${1:-/dev/stdin} | sed -e 's/.*=\"//g' | grep -v "#" | tr -d '\"' | tr -d "'" | tr '-' '\n' )
decoded=$(echo -e "$data" | cut -d "=" -f 1 | base64 --decode) decoded=$(echo -e "$data" | cut -d "=" -f 1 | base64 -d)
printf "$decoded" printf "$decoded"
} }