Skip to content

Commit 2cc67c5

Browse files
committed
Address feedback
1 parent b74459b commit 2cc67c5

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

shell-pipelines/sort-uniq-head-tail/script-06.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@ set -euo pipefail
66
# TODO: Write a command to show how many times anyone has entered and exited.
77
# It should be clear from your script's output that there have been 5 Entry events and 4 Exit events.
88

9-
cat events.txt | sort | uniq -c
9+
cat events.txt | awk '{print $1}' | sort | uniq -c

shell-pipelines/sort-uniq-head-tail/script-07.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,4 @@ set -euo pipefail
77
# It should be clear from your script's output that there have been 5 Entry events and 4 Exit events.
88
# The word "Event" should not appear in your script's output.
99

10-
cat events-with-timestamps.txt | awk '{print $3, $4;}' | grep -v 'Event' | sort | uniq -c
10+
cat events.txt | awk '{print $1}' | sort | uniq -c | awk '{print $1}'

0 commit comments

Comments
 (0)