I just replaced 5000 "comment" with "komment" in a 12 megabyte file using UltraEdit.
A good text editor is the best tool for such a task. Bill Cook Kent WA USA ----- Original Message ----- From: "MikeB" <[EMAIL PROTECTED]> To: "RBASE-L Mailing List" <[EMAIL PROTECTED]> Sent: Tuesday, June 22, 2004 13:23 Subject: [RBASE-L] - Re: RBase65++Dos - Search and Replace in text files > The ListBox Demo I have prepared will demonstrate Search and Replace in a text > file (Who woulda thought you would/could use a listbox for that?). > > I have tested it on as large as 2MB textfile (although it took over a minute to > do 28000 line file). > > Stay tuned.... > > > ----- Original Message ----- > From: "Jim Limburg" <[EMAIL PROTECTED]> > To: "RBASE-L Mailing List" <[EMAIL PROTECTED]> > Sent: Tuesday, June 22, 2004 3:03 PM > Subject: [RBASE-L] - RBase65++Dos - Search and Replace in text files > > > > G-Day all > > > > Has anyone created a snippet that will do the following: > > > > RBase Dos 6.5++ > > > > Basic purpose is to load an ascii based file (any text file) > > line by line into a table then, run a SRPL or ???? to update > > lines (acutally words) like replace the word tmdinv03 with tmdinv04 > > and then reconstitute the file with another name. > > > > 1. Prompt for a file name.. > > > > 2. Load the file line by line > > > > 3. Change a specific text value to another in all instances > > > > 4. write the file back out with another name. > > > > You probably guessed that I want to basically automate > > the rewrite of and APP file. I would like to do this for more > > than one word if possible.. > > > > I know I have at least two items I would like to replace.. that is > > where it says RUN soandso IN tmdinv03.apx to tmdinv04.apx and where > > it says CONNECT tmdinv03 to CONNECT tmdinv04. > > > > Let's see what you got. > > > > Jim > > >

