File tree Expand file tree Collapse file tree 3 files changed +8
-0
lines changed
individual-shell-tools/wc Expand file tree Collapse file tree 3 files changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -4,3 +4,5 @@ set -euo pipefail
44
55# TODO: Write a command to output the number of words in the file helper-files/helper-3.txt.
66# The output should include the number 19. The output should not include the number 92.
7+
8+ wc -w ../helper-files/helper-3.txt
Original file line number Diff line number Diff line change @@ -4,3 +4,5 @@ set -euo pipefail
44
55# TODO: Write a command to output the number of lines in the file helper-files/helper-3.txt.
66# The output should include the number 3. The output should not include the number 19.
7+
8+ wc -l ../helper-files/helper-3.txt
Original file line number Diff line number Diff line change @@ -8,3 +8,7 @@ set -euo pipefail
88# 1 7 39 ../helper-files/helper-2.txt
99# 3 19 92 ../helper-files/helper-3.txt
1010# 5 30 151 total
11+
12+ for file in ../helper-files/* ; do wc $file ; done
13+
14+ wc ../helper-files/* ;
You can’t perform that action at this time.
0 commit comments