Skip to content

Commit 7369a6a

Browse files
committed
5 entries and 4 exits
1 parent ce7df62 commit 7369a6a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,3 +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
# The word "Event" should not appear in your script's output.
9+
tail -n +2 events-with-timestamps.txt | awk '{print $3}' | sort | uniq -c

0 commit comments

Comments
 (0)