BGP-Ranking/bgpranking/config/modules/jq_all_the_things.sh

12 lines
126 B
Bash
Executable File

#!/bin/bash
set -e
set -x
# Seeds sponge, from moreutils
for dir in ./*.json
do
cat ${dir} | jq . | sponge ${dir}
done