Skip to content

Commit fd573fc

Browse files
committed
made things simpler
1 parent 5bf399e commit fd573fc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

jq/script-11.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,4 @@ set -euo pipefail
77
# Your output should be exactly the number 164.
88
# jq '[.[].scores] | add | add' scores.json
99

10-
jq '[.[].scores] | flatten | add' scores.json
10+
jq '[.[].scores[]] | add' scores.json

0 commit comments

Comments
 (0)