in reply to Re: text processing
in thread text processing
Actually, David, in this case I do believe that there’s enough information here to point to a classic, awk-inspired solution. The “set of records of-interest” is clearly bounded by an identifiable “start” and “end” record, and, within that space, the set of records which contain information-of-interest are readily identifiable. Thus, logic could be written, I think, based only on the file-example presented in the original post. And this logic would basically be in-keeping with the metaphor that the awk tool already employs. (Which means, of course, that a very short Perl program could also do the same.)