Re: replacing single line of text

2006-07-30 Thread saad82
Simon Tim, very valuable responses. Thank you much! Simon Forman wrote: [EMAIL PROTECTED] wrote: I want to be able to replace a single line in a large text file (several hundred MB). Using the cookbook's method (below) works but I think the replace fxn chokes on such a large chunk of

replacing single line of text

2006-07-28 Thread saad82
I want to be able to replace a single line in a large text file (several hundred MB). Using the cookbook's method (below) works but I think the replace fxn chokes on such a large chunk of text. For now, I simply want to replace the 1st line (CSV header) in the file but I'd also like to know a more

Re: replacing single line of text

2006-07-28 Thread Tim Chase
I want to be able to replace a single line in a large text file (several hundred MB). Using the cookbook's method (below) works but I think the replace fxn chokes on such a large chunk of text. For now, I simply want to replace the 1st line (CSV header) in the file but I'd also like to know a

Re: replacing single line of text

2006-07-28 Thread Simon Forman
[EMAIL PROTECTED] wrote: I want to be able to replace a single line in a large text file (several hundred MB). Using the cookbook's method (below) works but I think the replace fxn chokes on such a large chunk of text. For now, I simply want to replace the 1st line (CSV header) in the file but