Strings In Depth11 / 17
Up next

Translate with tr

#!/usr/bin/env bash
s="Hello World"
# tr translates one character set to another
echo "$s" | tr 'a-z' 'A-Z'
# -d deletes the listed characters
echo "$s" | tr -d 'aeiou'
What you're solving

tr maps or deletes character sets