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 3a4cb7b commit a69e7b3Copy full SHA for a69e7b3
1 file changed
shell-pipelines/tr/script-02.sh
@@ -7,3 +7,4 @@ set -euo pipefail
7
# so every Y should be a Z, and every Z should be a Y!
8
#
9
# TODO: Write a command to output the contents of text.txt with every Y and Z swapped (both upper and lower case).
10
+cat text.txt | tr 'Z' 'z' | tr 'Y' 'y' | tr 'z' 'Z' | tr 'y' 'Y'
0 commit comments