File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -10,18 +10,3 @@ set -euo pipefail
1010# 2 I was tempted to take a bite of it.
1111# 3 But this seemed like a bad idea...
1212cat -n ../helper-files/helper-3.txt
13-
14- #! /bin/bash
15-
16- set -euo pipefail
17-
18- # TODO: Write a command to output the contents of all of the files inside the helper-files directory to the terminal.
19- # Make sure you are only calling `cat` once.
20- #
21- # The output of this command should be:
22- # Once upon a time...
23- # There was a house made of gingerbread.
24- # It looked delicious.
25- # I was tempted to take a bite of it.
26- # But this seemed like a bad idea...
27- cat ../helper-files/* .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 with all occurrences of the letter `i` replaced with `I`.
66# The output should contain 11 lines.
77# The first line of the output should be: "ThIs Is a sample fIle for experImentIng wIth sed.".
8- sed " s/i/I/" input.txt
8+ sed " s/i/I/g " input.txt
You can’t perform that action at this time.
0 commit comments