HackerRank - Sed Command #1

April - 25/2025

Problem:

For each line in a given input file, transform the first occurrence of the word 'the' with 'this'. The search and transformation should be strictly case sensitive.

# Input

# Output

# Solution

            
    sed -e '{s/ the / this /}'
    

Post: