Update sortjson.sh

This commit is contained in:
Alexandre
2022-03-15 12:59:55 +01:00
committed by GitHub
parent 006ddf4414
commit f4ca998c0f

View File

@@ -1,5 +1,5 @@
#!/bin/bash
for files in */*.json; do
/./c/Tmp/jq-win64.exe --sort-keys . "$files" > config2.json && cat config2.json > "$files" && rm config2.json
jq --sort-keys . "$files" > config2.json && cat config2.json > "$files" && rm config2.json
done