I have a requirement where I need to add a new entry for the custom top to be created, in the context_file of ebs application installed in Oracle Linux 6. The context_file is an XML file. We need to search for a string and then we need to add a new entry just after the searched string.Search the string AU_TOP> in the file.Insert a string in a new line just after AU_TOP><TEST_TOP oa_var=s_testtop oa_type=PROD_TOP oa_enabled=FALSE>/u01/oracle/oracle/apps/apps_st/appl/test/12.0.0</TEST_TOP>Save the file.How can this be accomplished using a shell script?
Edit an EBS XML context_file to append a line after a particular one
text processing;scripting;xml