Re: Multiline Pattern matching for Big File

2004-03-18 Thread Ashish Srivastava
Hi James, Pattern is not of fixed length. Actually pattern will be giving by user and it could be anything, from one line to say ten lines. Regards, Ashish --- James Edward Gray II <[EMAIL PROTECTED]> wrote: > On Mar 18, 2004, at 8:20 AM, Ashish Srivastava > wrote: > > > Hi, > > I want to match

Re: Multiline Pattern matching for Big File

2004-03-18 Thread Wiggins d Anconia
> Hi, > I want to match a multiline pattern in a very big text > file say 500 MB. I can't take all the lines in a > string a array in one shot due to memory problem, I > have to read file in chunks of line. > Any help? > What is the pattern like? Is it fixed length? How variable is it? perl

Re: Multiline Pattern matching for Big File

2004-03-18 Thread James Edward Gray II
On Mar 18, 2004, at 8:20 AM, Ashish Srivastava wrote: Hi, I want to match a multiline pattern in a very big text file say 500 MB. I can't take all the lines in a string a array in one shot due to memory problem, I have to read file in chunks of line. Any help? I would think you have to get it down