in reply to Re: Efficiency: Finding if a file contains a paragraph
in thread Efficiency: Finding if a file contains a paragraph
No, there are just a lot of them.
>Are any of your paragraphs huge?
No.
>Are your paragraphs delineated with a single blank line?
Yes.
>Are you looking for an exact paragraph match (eg exact spaces, punctuation, and newlines)?
Yes. Basically I'm writing configuration paragraphs into configuration files. IF the paragraph already exists (a distinct possibility) I don't want to re-write it, but if it doesn't I want to add it.
CT
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Re: Efficiency: Finding if a file contains a paragraph
by revdiablo (Prior) on Jun 02, 2004 at 20:03 UTC |