proxmaster/humanjson.sh
2016-04-11 14:54:34 +03:00

16 lines
288 B
Bash
Executable file

#!/bin/bash
#makes jsons human (and machine) readable
#TODO: scan for all jsons and rewrite them.
echo "CACHE:"
cat grid-cache.json | python3 -m json.tool
echo " "
echo "GRID:"
cat grid-real.json | python3 -m json.tool
echo " "
echo "CLIENTS:"
cat clients.json | python3 -m json.tool