Skip to content

Commit 52ee7a3

Browse files
committed
fix: Adjusting the file path to execute from a subfolder.
1 parent cd446fd commit 52ee7a3

File tree

6 files changed

+6
-6
lines changed

6 files changed

+6
-6
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,4 @@ set -euo pipefail
1111
# It looked delicious.
1212
# I was tempted to take a bite of it.
1313
# But this seemed like a bad idea...
14-
cat helper-files/helper-1.txt helper-files/helper-2.txt helper-files/helper-3.txt
14+
cat ../helper-files/helper-1.txt ../helper-files/helper-2.txt ../helper-files/helper-3.txt

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,4 @@ set -euo pipefail
1010
# 2 I was tempted to take a bite of it.
1111
# 3 But this seemed like a bad idea...
1212

13-
cat -n helper-files/helper-3.txt
13+
cat -n ../helper-files/helper-3.txt

individual-shell-tools/cat/script-04-stretch.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,4 @@ set -euo pipefail
1313
# 3 It looked delicious.
1414
# 4 I was tempted to take a bite of it.
1515
# 5 But this seemed like a bad idea...
16-
cat -n helper-files/*
16+
cat -n ../helper-files/*

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)