|Syntactic Confectionery Delight|
Re: Re: parsing of large filesby JaWi (Hermit)
|on Mar 19, 2003 at 18:14 UTC||Need Help??|
The solution you presented will overwrite the output-file on each occurance of the section start. Furthermore, writing to closed filehandles isn't a very clean solution, IMHO.
You could try to use the magic '..' operator:
This will print the lines within the markers (thus: d,e,h and i in my example) but ignores the markers.
(update: fixed some layout issues and used the actual '..' operator instead of the '...' one!).
"A chicken is an egg's way of producing more eggs."