diff options
Diffstat (limited to 'query_param')
-rwxr-xr-x | query_param | 2 |
1 files changed, 2 insertions, 0 deletions
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- |