"Fossies" - the Fresh Open Source Software Archive

Member "jitsi-meet-7305/resources/lang-sort.sh" (26 May 2023, 172 Bytes) of package /linux/misc/jitsi-meet-7305.tar.gz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) Bash source code syntax highlighting (style: standard) with prefixed line numbers and code folding option. Alternatively you can here view or download the uninterpreted source code file.

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