Skip to content

Commit de915eb

Browse files
committed
command to output just the names of each player in London along with the score from their last attempt
1 parent 348aedd commit de915eb

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

individual-shell-tools/awk/script-04.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,4 @@ set -euo pipefail
55
# TODO: Write a command to output just the names of each player in London along with the score from their last attempt.
66
# Your output should contain 3 lines, each with one word and one number on it.
77
# The first line should be "Ahmed 4".
8+
awk '$2 == "London" {print $1, $NF}' scores-table.txt

0 commit comments

Comments
 (0)