Skip to content

Commit 3a4cb7b

Browse files
committed
output text changed caractere with tr shell scripting
1 parent d56a3e0 commit 3a4cb7b

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+
cat text.txt | tr '!' '.'

0 commit comments

Comments
 (0)