Help with shell script

view full story

http://www.unix.com – Hi all, I want to replace a pattern in between two lines with another pattern.I tried this using perl script.But i wanted to try this using shell script.I should include this in a script which already exists and try accessing web.xml. file name:web.xml Code: <security-constraint>       <web-resource-collection>         <web-resource-name>HttpInvokers</web-resource-name>         <description>An example security config that only allows users with the             role (HowTos)