Re: pattern -help

2008-06-22 Thread John W. Krahn
Pad wrote: More detail about the format would help. Assuming the expected format is something like: _begin CLASS_A ... _end CLASS_A ... _begin CLASS_B ... _end CLASS_B Thanks Yitzle and Rob for you quick response. I apprecitiate your help and writing style tips. I just want to give more clari

Re: pattern -help

2008-06-22 Thread Pad
> More detail about the format would help. > Assuming the expected format is something like: > > _begin CLASS_A > ... > _end CLASS_A > ... > _begin CLASS_B > ... > _end CLASS_B > > == CODE == > > Thanks Yitzle and Rob for you quick response. I apprecitiate your help and writing style tips. I jus

Re: pattern -help

2008-06-22 Thread Rob Dixon
yitzle wrote: > On 6/22/08, Pad <[EMAIL PROTECTED]> wrote: >> Need your help again! >> >> I have a file that contains several _begin and _end classes with >> _begin is that start of the block and _end being the end of block. >> Sometimes we miss either _begin or _end. I am trying to write a >>

Re: pattern -help

2008-06-22 Thread Rob Dixon
Rob Dixon wrote: > Pad wrote: >> I have a file that contains several _begin and _end classes with >> _begin is that start of the block and _end being the end of block. >> Sometimes we miss either _begin or _end. I am trying to write a >> script that find every _begin should contain _end. If for

Re: pattern -help

2008-06-22 Thread Rob Dixon
Pad wrote: > > I have a file that contains several _begin and _end classes with > _begin is that start of the block and _end being the end of block. > Sometimes we miss either _begin or _end. I am trying to write a > script that find every _begin should contain _end. If for reasons > _end is mi

Re: pattern -help

2008-06-22 Thread yitzle
On 6/22/08, Pad <[EMAIL PROTECTED]> wrote: > Need your help again! > > I have a file that contains several _begin and _end classes with > _begin is that start of the block and _end being the end of block. > Sometimes we miss either _begin or _end. I am trying to write a > script that find ever

pattern -help

2008-06-22 Thread Pad
Need your help again! I have a file that contains several _begin and _end classes with _begin is that start of the block and _end being the end of block. Sometimes we miss either _begin or _end. I am trying to write a script that find every _begin should contain _end. If for reasons _end is mis