Question: Please create a BASH script with the following guidelines: ---------------------------------------------------------------------------- Given a file, replace all iterations of the word ABC with DEF from the 5th

Please create a BASH script with the following guidelines:

----------------------------------------------------------------------------

Given a file, replace all iterations of the word "ABC" with "DEF" from the 5th line, and until the end (in only those lines that contain the word "MNO")

----------------------------------------------------------------------------

GivenFile1.txt contains the following:

SHABC

CHEFG

STEFG

Test1

SHABC

CHEFG

STABC

Test2

SHABC

CHEFG

STEFG MNO

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!