Skip to content

Commit 47eaf6a

Browse files
committed
Fix sed command to correctly replace "We'll" with "We will" in input.txt
1 parent 1a6c214 commit 47eaf6a

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

individual-shell-tools/sed/script-04.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,5 @@ set -euo pipefail
44

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.
7-
sed "s/We'll/We will/g" input.txt
7+
8+
sed "s/ We'll/ We will/g" input.txt

0 commit comments

Comments
 (0)