HackerRank - Cut #2

April - 25/2025

Problem:

Display the 2nd and 7th character from each line of text.

# Input

# Output

# Solution

            
    cut -c 2,7
    

# Solution_01

            
    while read line
    do
        echo "$line" | cut -c 2,7;
    done
          

Post: