Skip to content

Commit 7a23a2b

Browse files
committed
Calculate sum of all players' first scores
1 parent b0f0fb2 commit 7a23a2b

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

individual-shell-tools/awk/script-06-stretch.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,4 @@ set -euo pipefail
66

77
# TODO: Write a command to output the total of adding together all players' first scores.
88
# Your output should be exactly the number 54.
9+
awk '{sum += $3} END {print sum}' scores-table.txt

0 commit comments

Comments
 (0)