Skip to content

Commit 9e2df34

Browse files
committed
Fix script-01.sh solution.
1 parent 70451ca commit 9e2df34

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

shell-pipelines/tr/script-01.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,4 @@ set -euo pipefail
77
#
88
# TODO: Write a command to output the contents of text.txt with every exclamation mark (!) replaced with a full-stop (.).
99

10-
cat text.txt | tr ! .
10+
tr '!' '.' < text.txt

0 commit comments

Comments
 (0)