HackerRank - 'Tr' Command #2

April - 25/2025

Problem:

In this challenge, we practice using the tr command because it is a useful translation tool in Linux. In a given fragment of text, delete all the lowercase characters a- z.

# Input

# Output

# Solution

            
    tr -d "a-z"
    

# Solution_01

            
    while read line
    do
        echo "$line" | tr -d "a-z"
    done 
    

Post: