Skip to content

Commit 41983e1

Browse files
committed
wc commands fixed
1 parent 6d381a0 commit 41983e1

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@ 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-
wc -w < helper-files/helper-3.txt
7+
wc -w < ../helper-files/helper-3.txt

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@ 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-
wc -l < helper-files/helper-3.txt
7+
wc -l < ../helper-files/helper-3.txt

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,4 @@ set -euo pipefail
99
# 3 19 92 ../helper-files/helper-3.txt
1010
# 5 30 151 total
1111

12-
wc helper-files/*
12+
wc ../helper-files/*

0 commit comments

Comments
 (0)