Skip to content

Commit b78d1c8

Browse files
committed
replace all ! with . in the text file
1 parent 5eaaf39 commit b78d1c8

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

shell-pipelines/tr/script-01.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,4 @@ set -euo pipefail
66
# The author got feedback that they're using too many exclamation marks (!).
77
#
88
# TODO: Write a command to output the contents of text.txt with every exclamation mark (!) replaced with a full-stop (.).
9+
tr '!' '.' < text.txt

0 commit comments

Comments
 (0)