We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 430980a commit 00d4c2bCopy full SHA for 00d4c2b
2 files changed
shell-pipelines/tr/script-01.sh
@@ -6,3 +6,5 @@ set -euo pipefail
6
# The author got feedback that they're using too many exclamation marks (!).
7
#
8
# TODO: Write a command to output the contents of text.txt with every exclamation mark (!) replaced with a full-stop (.).
9
+
10
+cat ./text.txt | tr ! .
shell-pipelines/tr/script-02.sh
@@ -7,3 +7,5 @@ set -euo pipefail
# so every Y should be a Z, and every Z should be a Y!
# TODO: Write a command to output the contents of text.txt with every Y and Z swapped (both upper and lower case).
11
+cat ./text.txt | tr "YyZz" "ZzYy"
0 commit comments