The sed command in Linux has a pretty nifty way of doing this:
Code:
sed 'y/+\//-_/'
echo tyh+VfuzIxCyGYDlkBA7DfyjrqmSHu6pQ2hoZuFqUSLPNY2N0mpHb3nk5K17HWP/3cYHBw7AhHale5wky6+sVA|wsl sed 'y/+\//-_/'
tyh-VfuzIxCyGYDlkBA7DfyjrqmSHu6pQ2hoZuFqUSLPNY2N0mpHb3nk5K17HWP_3cYHBw7AhHale5wky6-sVA
It seems to me that implementing it as a plugin function would be faster and more elegant than piling an external utility on top of @B64ENCODE. But I may be biased here....
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.