<div dir="ltr"><div style>Dear madhu latha</div>You might want to check the shell command 'sed'<div><a href="http://www.grymoire.com/Unix/Sed.html#uh-1">http://www.grymoire.com/Unix/Sed.html#uh-1</a><br></div><div>
<a href="http://www.catonmat.net/blog/worlds-best-introduction-to-sed/">http://www.catonmat.net/blog/worlds-best-introduction-to-sed/</a><br></div><div><br></div><div style>Best regards</div><div style>Luis</div></div><div class="gmail_extra">
<br><br><div class="gmail_quote">On Tue, Apr 2, 2013 at 3:30 AM, madhu latha <span dir="ltr"><<a href="mailto:madhulatha11@gmail.com" target="_blank">madhulatha11@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr"><div><div><div><div>hi all<br><br></div> i have multiple grads scripts<br></div>i have to replace some text in each file through vi editor and i have to run the script.<br></div>can anybody please suggest how to make a shell script which open every file and replaces the requires test through vi editor.<br>
<br><br></div> Thanks in advance.<span class="HOEnZb"><font color="#888888"><br><div><br clear="all"><div><div><div><div><br>-- <br><b><span style="color:rgb(51,51,255)">With Regards</span><br style="color:rgb(51,51,255)">
<span style="color:rgb(51,51,255)">Madhu Latha Akkisetti</span><br style="color:rgb(51,51,255)">
<span style="color:rgb(51,51,255)">SRF</span><br style="color:rgb(51,51,255)"><a style="color:rgb(51,51,255)" href="http://www.narl.gov.in" target="_blank">NARL</a><br style="color:rgb(51,51,255)"><span style="color:rgb(51,51,255)">Department of space</span><br style="color:rgb(51,51,255)">
<span style="color:rgb(51,51,255)">Gadanki</span></b>
</div></div></div></div></div></font></span></div>
<br>_______________________________________________<br>
gradsusr mailing list<br>
<a href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a><br>
<a href="http://gradsusr.org/mailman/listinfo/gradsusr" target="_blank">http://gradsusr.org/mailman/listinfo/gradsusr</a><br>
<br></blockquote></div><br></div>