jiti-meet/resources/lang-sort.sh

9 lines
172 B
Bash
Raw Normal View History

2022-01-20 11:44:08 +00:00
#!/bin/bash -e
for file in ./lang/*.json; do
echo "Sorting and standardizing ${file}"
t=$(mktemp)
jq --indent 4 -S "." "${file}" > "${t}"
mv "${t}" "${file}"
done