From: Paul Hänsch Date: Tue, 17 Jul 2018 01:31:37 +0000 (+0200) Subject: slight simplicity/speed regain in URL() X-Git-Url: https://git.plutz.net/?a=commitdiff_plain;h=a301c53cc6f28dde4fa2f80d5785f7988542e327;p=cgilite slight simplicity/speed regain in URL() --- diff --git a/cgilite.sh b/cgilite.sh index 8859b44..9420b46 100755 --- a/cgilite.sh +++ b/cgilite.sh @@ -170,7 +170,7 @@ URL(){ printf %s "$*" \ | hexdump -v -e '/1 ",%02X"' \ - | tr , % |sed 's;%2F;/;g;' + | sed 's;,;%;g; s;%2F;/;g;' } PATH(){