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 0a96936 commit 9ceafa0Copy full SHA for 9ceafa0
jq/script-07.sh
@@ -6,3 +6,4 @@ set -euo pipefail
6
# TODO: Write a command to output just the names of each player along with the score from their last attempt.
7
# Your output should contain 6 lines, each with one word and one number on it.
8
# The first line should be "Ahmed 4" with no quotes.
9
+~/bin/jq -r '.[] | .name + " " + (.scores[-1] | tostring)' scores.json
0 commit comments