Created
August 4, 2023 20:21
-
-
Save ryanvgates/e88d23435f9e5f813ff3682bcf5c06ca to your computer and use it in GitHub Desktop.
Bash query json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
read -a APP_NAMES < <(cat environments.json | jq -r '.[].apps' | jq -s 'add' | jq 'unique' | jq '.[]' | tr '\n' ' ' ) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment