Skip to content

Commit 877cd0c

Browse files
committed
Adjust the failed test files
1 parent 9281110 commit 877cd0c

6 files changed

Lines changed: 6 additions & 6 deletions

File tree

individual-shell-tools/cat/script-01.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 contents of the helper-1.txt file inside the helper-files directory to the terminal.
66
# The output of this command should be "Once upon a time...".
77

8-
cat individual-shell-tools/helper-files/helper-1.txt
8+
cat ../helper-files/helper-1.txt

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

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

15-
cat individual-shell-tools/helper-files/*
15+
cat ../helper-files/*

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 individual-shell-tools/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
@@ -14,4 +14,4 @@ set -euo pipefail
1414
# 4 I was tempted to take a bite of it.
1515
# 5 But this seemed like a bad idea...
1616

17-
cat -n individual-shell-tools/helper-files/*
17+
cat -n ../helper-files/*

individual-shell-tools/grep/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 every line in dialogue.txt that contains the word Doctor (regardless of case).
66
# The output should contain 9 lines.
77

8-
grep -i "^Doctor:" dialogue.txt
8+
grep -iw "Doctor" dialogue.txt

individual-shell-tools/sed/script-04.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 input.txt replacing every occurrence of the string "We'll" with "We will".
66
# The output should contain 11 lines.
77

8-
sed "s/We'll/We will/g" input.txt
8+
sed 's/We'\''ll/We will/g' input.txt

0 commit comments

Comments
 (0)