proxmaster/humanjson.sh

13 lines
231 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-02-19 21:26:04 -05:00
echo " "
echo "JOURNAL:"
2016-02-15 05:42:15 -05:00
cat journal.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