We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e652b41 commit 77e3816Copy full SHA for 77e3816
2 files changed
jq/script-04.sh
@@ -6,3 +6,4 @@ set -euo pipefail
6
# TODO: Write a command to output just the names of each player, one per line.
7
# Your output should contain 6 lines, each with just one word on it.
8
# Your output should not contain any quote characters.
9
+jq -r '.[].name' scores.json
jq/script-05.sh
@@ -5,3 +5,4 @@ set -euo pipefail
5
# The input for this script is the scores.json file.
# TODO: Write a command to output the names of each player, as well as their city.
# Your output should contain 6 lines, each with two words on it.
+jq -r '.[] | "\(.name) \(.city)"' scores.json
0 commit comments