You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

lang-sort.sh 172B

12345678
  1. #!/bin/bash -e
  2. for file in ./lang/*.json; do
  3. echo "Sorting and standardizing ${file}"
  4. t=$(mktemp)
  5. jq --indent 4 -S "." "${file}" > "${t}"
  6. mv "${t}" "${file}"
  7. done