From a301c53cc6f28dde4fa2f80d5785f7988542e327 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Paul=20H=C3=A4nsch?= Date: Tue, 17 Jul 2018 03:31:37 +0200 Subject: [PATCH] slight simplicity/speed regain in URL() --- cgilite.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(){ -- 2.39.2