We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d3381b8 commit 1cb2c0dCopy full SHA for 1cb2c0d
1 file changed
shell-pipelines/sort-uniq-head-tail/script-07.sh
@@ -6,4 +6,5 @@ set -euo pipefail
6
# TODO: Write a command to show how many times anyone has entered and exited.
7
# It should be clear from your script's output that there have been 5 Entry events and 4 Exit events.
8
# The word "Event" should not appear in your script's output.
9
-cut -d' ' -f2 events-with-timestamps.txt | sort | uniq -c
+echo "Entry: $(grep -c 'Entry' events-with-timestamps.txt)"
10
+echo "Exit: $(grep -c 'Exit' events-with-timestamps.txt)"
0 commit comments