in reply to Re: Re: Re: Re: search/replace very large file w/o linebreaks
in thread search/replace very large file w/o linebreaks
If this is a run-once-only problem, trying using a tag as the input record separator is the way to go, and only if that fails with out-of-memory go to another approach.
One other way would be to pick a common character or string from the file that won't appear in any tag (or appears at the end of any tags it is in). For instance, ' ', '>', or 'the' might work, given appropriate data.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Re: Re: Re: Re: search/replace very large file w/o linebreaks
by nothingmuch (Priest) on Jan 11, 2004 at 13:22 UTC | |
by ysth (Canon) on Jan 11, 2004 at 17:39 UTC |