Skip to content

Commit 1cf1f20

Browse files
committed
Complete script-11.sh exercise
1 parent 0ccf474 commit 1cf1f20

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

jq/script-11.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,5 @@ set -euo pipefail
55
# The input for this script is the scores.json file.
66
# TODO: Write a command to output the total of adding together all scores from all games from all players.
77
# Your output should be exactly the number 164.
8+
9+
jq '[.[] | .scores[]] | add' scores.json

0 commit comments

Comments
 (0)