Thanks Bill, just what I needed, especially since it was already installed and registered on the server.
John T eServices For You > -----Original Message----- > From: [EMAIL PROTECTED] [mailto:Declude.JunkMail- > [EMAIL PROTECTED] On Behalf Of Bill Landry > Sent: Monday, October 10, 2005 11:11 PM > To: [email protected] > Subject: Re: [Declude.JunkMail] Command line file editor > > ----- Original Message ----- > From: "John T (Lists)" <[EMAIL PROTECTED]> > > >I am looking for a way to edit a text file through command line for use in > > batch files, generally doing search and replace. > > > > If any one has suggestions, please let me know. > > Sed works well for this type of function: > > sed "s/original text/new text/g" old-file.txt > new-file.txt > > Bill > --- > This E-mail came from the Declude.JunkMail mailing list. To > unsubscribe, just send an E-mail to [EMAIL PROTECTED], and > type "unsubscribe Declude.JunkMail". The archives can be found > at http://www.mail-archive.com. --- This E-mail came from the Declude.JunkMail mailing list. To unsubscribe, just send an E-mail to [EMAIL PROTECTED], and type "unsubscribe Declude.JunkMail". The archives can be found at http://www.mail-archive.com.
