proxmaster/humanjson.sh

16 lines
288 B
Bash
Raw Normal View History

2016-02-15 05:42:15 -05:00
#!/bin/bash
#makes jsons human (and machine) readable
#TODO: scan for all jsons and rewrite them.
2016-04-11 07:54:34 -04:00
echo "CACHE:"
cat grid-cache.json | python3 -m json.tool
2016-02-19 21:26:04 -05:00
echo " "
echo "GRID:"
cat grid-real.json | python3 -m json.tool
2016-02-19 21:26:04 -05:00
echo " "
echo "CLIENTS:"
cat clients.json | python3 -m json.tool
2016-02-15 05:42:15 -05:00