don't use '-r' on sed

This commit is contained in:
Lukas Schauer
2015-12-07 11:36:27 +01:00
parent 219b3e9d0a
commit 81cb6ac77b
+1 -1
View File
@@ -31,7 +31,7 @@ anti_newline() {
urlbase64() { urlbase64() {
# urlbase64: base64 encoded string with '+' replaced with '-' and '/' replaced with '_' # 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() { hex2bin() {