File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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
Original file line number Diff line number Diff 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/*
Original file line number Diff line number Diff 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
Original file line number Diff line number Diff 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/*
Original file line number Diff line number Diff 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
Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments