Bookmark and Share

Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: st: Use Regular Expressions to replace words/strings of characters in a text file


From   tashi lama <[email protected]>
To   <[email protected]>
Subject   RE: st: Use Regular Expressions to replace words/strings of characters in a text file
Date   Thu, 16 Aug 2012 18:42:43 +0000

well, it writes the line if it finds "Cell" in the line except that it overlaps in the old file tt.xml. I guess I need to open another empty file and dump the line there.

----------------------------------------
> Date: Thu, 16 Aug 2012 19:18:40 +0100
> Subject: Re: st: Use Regular Expressions to replace words/strings of characters in a text file
> From: [email protected]
> To: [email protected]
>
> That's not a fix to anything. It's not even legal.
>
> Nick
>
> On Thu, Aug 16, 2012 at 7:15 PM, tashi lama <[email protected]> wrote:
> > Thanx...I forgot to put the increment in the while loop
> > while ...{
> >
> > ....
> > file close myfile line
> > }
> >
> *
> * For searches and help try:
> * http://www.stata.com/help.cgi?search
> * http://www.stata.com/support/statalist/faq
> * http://www.ats.ucla.edu/stat/stata/ 		 	   		  
*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/


© Copyright 1996–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index