HackerRank Sed command #2 problem solution YASH PAL, 31 July 2024 In this HackerRank Sed command #2 problem solution In this challenge, we will practice using the sed command to parse and transform text.TaskFor each line in a given input file, transform all the occurrences of the word ‘thy’ with ‘your’. The search should be case insensitive, i.e. ‘thy’, ‘Thy’, ‘tHy’ etc. should be transformed to ‘your’.Input FormatA text file will be piped into your command via STDIN.Output FormatTransform and display the text as required in the taskProblem solution.sed 's/thy/your/gi' Second solution.sed 's/bthyb/your/gi' Third solution.sed 's/(^| )thy( |$)/1your2/gi' Fourth solution.sed 's/<[tT][hH][yY]>/your/g' coding problems solutions linux shell