Skip to content

Commit 5eaaf39

Browse files
committed
use sort-uniq-c pipleine to show how many times anyone has entered and exited.
1 parent af77931 commit 5eaaf39

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,4 @@ set -euo pipefail
55
# The input for this script is the events.txt file.
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.
8+
sort events.txt | uniq -c

0 commit comments

Comments
 (0)