summaryrefslogtreecommitdiff
path: root/show_all.sh
diff options
context:
space:
mode:
Diffstat (limited to 'show_all.sh')
-rwxr-xr-xshow_all.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/show_all.sh b/show_all.sh
new file mode 100755
index 0000000..f1f584f
--- /dev/null
+++ b/show_all.sh
@@ -0,0 +1,9 @@
+DELAY_S=20
+
+while read l; do
+ echo "${l}";
+ ID=$(echo "${l}" | cut -d' ' -f 1)
+ ./get_json.sh ${ID} > ${ID}.json
+ cat ${ID}.json | ./parse_json.sh ${ID}
+ sleep ${DELAY_S}
+done < words