Skip to content

Commit fc1c390

Browse files
committed
command to output the total of adding together all players' first scores
1 parent 47505c1 commit fc1c390

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

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)