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 9a21da8 commit f100dbcCopy full SHA for f100dbc
jq/script-09.sh
@@ -6,3 +6,5 @@ set -euo pipefail
6
# TODO: Write a command to output just the names of each player along with the total scores from all of their games added together.
7
# Your output should contain 6 lines, each with one word and one number on it.
8
# The first line should be "Ahmed 15" with no quotes.
9
+~/bin/jq -r '.[] | .name + " " + (.scores | add | tostring)' scores.json
10
+
0 commit comments