<div dir="ltr">hello,<div style>If u have downloaded the script in .gs format then it is ok to edit through vi editor command.</div><div style>if u download in other format then u have to save that file in .gs format then edit as per ur requirement. hope this will help.</div>
</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Apr 2, 2013 at 12:00 PM, madhu latha <span dir="ltr">&lt;<a href="mailto:madhulatha11@gmail.com" target="_blank">madhulatha11@gmail.com</a>&gt;</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><br clear="all"><div><br></div>-- <br><div><font face="trebuchet ms, sans-serif" color="#ff0000">Thanks.</font></div><div><font face="trebuchet ms, sans-serif" color="#ff0000">With Regards</font></div>
<font color="#6600cc" face="trebuchet ms, sans-serif" size="4"><div><font color="#6600cc" face="trebuchet ms, sans-serif" size="4">________________________</font></div>BIRANCHI  KUMAR  MAHALA</font><div><font color="#666666">Asst. Prof., Mathematics</font></div>
<div><u><font color="#009900">KP, KIIT,</font><font color="#ff0000"> </font><font color="#009900">Bhubaneswar</font></u></div><div><font color="#009900"><br></font></div>
</div>