On Mon, Mar 25, 2002 at 01:19:36PM -0600, Jared Burns wrote: > I've got a file containing the text: > blah > grah > > and I want to replace those two lines with the string: > broohaha #--- BEGIN SED SCRIPT /blah/,/grah/ c\ bruhaha #--- END SED SCRIPT sed -f script.sed filetochange > newfile -- Chad Walstrom <chewie at wookimus.net> | a.k.a. ^chewie http://www.wookimus.net/ | s.k.a. gunnarr Get my public key, ICQ#, etc. $(mailx -s 'get info' chewie at wookimus.net) -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 232 bytes Desc: not available Url : http://shadowknight.real-time.com/pipermail/tclug-list/attachments/20020325/880bf063/attachment.pgp