summaryrefslogtreecommitdiffstats
path: root/json/sh
diff options
context:
space:
mode:
authortv <tv@also>2011-07-31 04:29:24 +0200
committertv <tv@also>2011-07-31 04:29:24 +0200
commitd95d36c53d497f109a3c6a26f8a46bba094baa41 (patch)
tree4545e0071c8666c9d76b8df7446c4b35ef0c4a5d /json/sh
parent528d8e0c606bdf615642b9b8636da2417aa236c3 (diff)
json/sh: use $1 as var prefix
Diffstat (limited to 'json/sh')
-rwxr-xr-xjson/sh/json.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/json/sh/json.sh b/json/sh/json.sh
index 5d6476ac..2a64d371 100755
--- a/json/sh/json.sh
+++ b/json/sh/json.sh
@@ -97,7 +97,7 @@ read_json() {
# TODO print_json x, print_json x ca ... to print as json
-read_json x
+read_json "$1"
echo ====
set | egrep "^(typeof_)?$json_key[A-Za-z_]*="
echo ====