Skip to content

Commit f296b70

Browse files
committed
jq review
1 parent e9e4b86 commit f296b70

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

jq/script-08.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 contain 6 lines, each with one word and one number on it.
88
# The first line should be "Ahmed 3" with no quotes.
99

10-
jq -r '.[] | .name + ", " + ((.scores | length) | tostring)' scores.json
10+
jq -r '.[] | .name + ", " + (.scores | length | tostring)' scores.json

0 commit comments

Comments
 (0)