Re: Combine similar patterns
- From: fxn@xxxxxxxxxxx (Xavier Noria)
- Date: Wed, 29 Mar 2006 10:38:22 +0200
On Mar 29, 2006, at 10:28, anand kumar wrote:
Sorry for not posting the question clearly, Please find the attachment of the sample file. The matter enclosed in <f1>….</ f1=c>, <f1=c>…..</f1=c>….<f1=c>……</f1> are all the foot notes that are spanning on various pages, now what I am trying to do is that to combine all the related footnotes that are spanned in various pages and place them at on place. Here <f1> indicates the starting of the footnotes, <f1=c> indicates that the footnote continues from previous page, the </f1=c> indicates that the foot notes continues in next page and </f1> indicates the end of the footnotes
Looks like the code I sent before is a good starting point. The only new relevant stuff I see are the "<fn>" tags, but you could adapt the script easily to deal with that correctly and to do what's needed with empty lines. If you understand the flip-flop operator you've got the script.
-- fxn
.
- Follow-Ups:
- Re: Combine similar patterns
- From: Anand Kumar
- Re: Combine similar patterns
- Prev by Date: Re: How to extract the path of the file name in perl
- Next by Date: Re: Combine similar patterns
- Previous by thread: Re: Combine similar patterns
- Next by thread: Re: Combine similar patterns
- Index(es):
Relevant Pages
|