From 5aa8ec238c46f1961dbd9541d0067d60e2f18c28 Mon Sep 17 00:00:00 2001 From: epoch Date: Mon, 1 Jun 2020 03:55:51 -0500 Subject: added query_param script. fixed a really dumb bug in uriescape --- query_param | 2 ++ 1 file changed, 2 insertions(+) create mode 100755 query_param (limited to 'query_param') diff --git a/query_param b/query_param new file mode 100755 index 0000000..3438bb7 --- /dev/null +++ b/query_param @@ -0,0 +1,2 @@ +#!/bin/sh +printf "%s\n" "${QUERY_STRING}" | tr '&' '\n' | grep "^${1}=" | cut -d= -f2- -- cgit v1.2.3