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 9ceafa0 commit 9a21da8Copy full SHA for 9a21da8
jq/script-08.sh
@@ -6,3 +6,5 @@ set -euo pipefail
6
# TODO: Write a command to output just the names of each player along with the number of times they've played the game.
7
# Your output should contain 6 lines, each with one word and one number on it.
8
# The first line should be "Ahmed 3" with no quotes.
9
+~/bin/jq -r '.[] | .name + " " + (.scores | length | tostring)' scores.json
10
+
0 commit comments