7

To add a new line with specific text after the pattern is found using sed

view full story
linux-howto

http://www.unix.com – hi guys, im trying to add the following line in my xml file Code: <dbrollbacksegs <oa_var="s_db_rollback_segs">NOROLLBACK</dbrollbacksegs> when ever i find the following line Code: <dbsharedpool oa_var="s_dbsharedpool_size">300000000</dbsharedpool> I have succedded till adding a new line after the above searched pattern but not able to insert my specifc part (NOROLLBACK) Code: users/oracle> cat  file     <dbsharedpool oa_var="s_dbsharedpool_size">300000000</dbsharedpool> /users/oracle &gt (HowTos)