Insert a line in PS File after some specific Keyword: REXX
Posted: Mon Aug 12, 2019 11:52 pm
Hi All,
I need to insert a line(Say: "New Message here") after specific line (Say: "After this line") in a PS File(Say: "APP.D1111.FILE") using REXX
For Eg:
Contents of APP.D1111.FILE
First Line
After this line
Second Line
Third Line
After this line
Fourth Line
Output Needed:
First Line
After this line
New Message here
Second Line
Third Line
After this line
New Message here
Fourth Line
Thanks for help in Advance
~Anshul
I need to insert a line(Say: "New Message here") after specific line (Say: "After this line") in a PS File(Say: "APP.D1111.FILE") using REXX
For Eg:
Contents of APP.D1111.FILE
First Line
After this line
Second Line
Third Line
After this line
Fourth Line
Output Needed:
First Line
After this line
New Message here
Second Line
Third Line
After this line
New Message here
Fourth Line
Thanks for help in Advance
~Anshul