diff options
author | Jesse Gilles <jgilles@multitech.com> | 2015-04-30 17:01:28 -0500 |
---|---|---|
committer | Jesse Gilles <jgilles@multitech.com> | 2015-04-30 17:01:28 -0500 |
commit | e98a76f48a683056be716c78fb342127cee0bc15 (patch) | |
tree | b1db3eab7d511b5cddfa702950d5eb51e6d641dc /recipes-support/multitech/jsparser | |
parent | fc50030ce81f0aea0dbfdc8325aa19f7d54877f8 (diff) | |
download | meta-mlinux-e98a76f48a683056be716c78fb342127cee0bc15.tar.gz meta-mlinux-e98a76f48a683056be716c78fb342127cee0bc15.tar.bz2 meta-mlinux-e98a76f48a683056be716c78fb342127cee0bc15.zip |
add recipes for MultiTech libmts, libmts-io, radio-cmd, radio-query, jsparser
Diffstat (limited to 'recipes-support/multitech/jsparser')
-rwxr-xr-x | recipes-support/multitech/jsparser/jspp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/recipes-support/multitech/jsparser/jspp b/recipes-support/multitech/jsparser/jspp new file mode 100755 index 0000000..16b60e1 --- /dev/null +++ b/recipes-support/multitech/jsparser/jspp @@ -0,0 +1,9 @@ +#!/bin/bash + +if [ $# -lt 1 ]; then + echo "usage: $0 <filepath>" + echo " prints json in readable format" + exit 1 +fi + +cat $1 | jsparser --jsobj |