diff options
author | tv <tv@also> | 2011-07-31 04:29:24 +0200 |
---|---|---|
committer | tv <tv@also> | 2011-07-31 04:29:24 +0200 |
commit | cde16d4dcd5d5c32b5863c93fe191c5789e3abd8 (patch) | |
tree | 86e74a0e85b774010d0a239ad63d22a147788032 | |
parent | 332095253c864e010fb6bfe655a145d8b7b63c44 (diff) |
json/sh: use $1 as var prefix
-rwxr-xr-x | json/sh/json.sh | 2 |
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 ==== |