Commit 81cb6ac7 authored by Lukas Schauer's avatar Lukas Schauer

don't use '-r' on sed

parent 219b3e9d
......@@ -31,7 +31,7 @@ anti_newline() {
urlbase64() {
# urlbase64: base64 encoded string with '+' replaced with '-' and '/' replaced with '_'
openssl base64 -e | anti_newline | sed -r 's/=*$//g' | tr '+/' '-_'
openssl base64 -e | anti_newline | sed 's/=*$//g' | tr '+/' '-_'
}
hex2bin() {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment