Sharan Basappa wrote:
>
> I am aware that a file descriptor needs to be opened etc. BTW, do you think
> text-balanced can help in situations that are slightly more complex than I
> described above. For example, if I have data like:
>
> keywordx id
> some text
> some text
> {
> more text
> mor
On Tue, Oct 14, 2008 at 8:50 PM, Rob Dixon <[EMAIL PROTECTED]> wrote:
> Sharan Basappa wrote:
>> On Fri, Oct 10, 2008 at 9:49 PM, Rob Dixon <[EMAIL PROTECTED]> wrote:
>>>
>>> If your problem really is that simple, and you don't expect 'keywordy'
>>> blocks to
>>> be nested inside other 'keywordy'
Sharan Basappa wrote:
> On Fri, Oct 10, 2008 at 9:49 PM, Rob Dixon <[EMAIL PROTECTED]> wrote:
>>
>> If your problem really is that simple, and you don't expect 'keywordy'
>> blocks to
>> be nested inside other 'keywordy' blocks, then the program below will do what
>> you need.
>>
>> It may help if
On Fri, Oct 10, 2008 at 9:49 PM, Rob Dixon <[EMAIL PROTECTED]> wrote:
> Sharan Basappa wrote:
>>
>> I am trying to process a code for some processing.
>> The code looks like
>>
>> keywordx ...
>>
>> keywordy identifier_a
>> some text
>> endkeywordy
>>
>> keywordz identifier_a
>> some
Sharan Basappa wrote:
>
> I am trying to process a code for some processing.
> The code looks like
>
> keywordx ...
>
> keywordy identifier_a
> some text
> endkeywordy
>
> keywordz identifier_a
> some text
> endkeywordz
>
> endkeywordx
>
>>From this, I would like to extract te