editing files

From: dpatel@popmail.com
Date: Wed Jul 17 2002 - 12:31:40 EDT


Hello
 
 I want to substitute couple variables in similar kind of files without editing each file individually.
 All these files have the same extension for e.g gu-1.plk, gu-2.plk, gu-3.plk etc.
 These files contain a common variable called s_index that needs to be replaced by i_index.

 It is possible to edit each one and apply 1,$ s/s_index/i_index/g using vi.
 How can this be done for each of these files in one shot?

 Please advise.
 DPS
 

....................................
Get your own free email account from
http://www.popmail.com
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers



This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:24:37 EDT