Skip to content

Commit cd830fc

Browse files
Correcting the counting of word to print a number
1 parent d0ec01b commit cd830fc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

individual-shell-tools/wc/script-02.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,4 @@ set -euo pipefail
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.
77

8-
wc -l ../helper-files/helper-3.txt
8+
wc -l < ../helper-files/helper-3.txt

0 commit comments

Comments
 (0)