I am looking for the syntax which would allow me to utilize one array over and over again for a block of input. I want to match a line, put it and all following lines into the array until a condition is met, probably another pattern. Process the array, print its contents, empty the array, and then put the next chunk of input which matches the same patterns into the same array until the input file is exhausted. Also, if anyone knows a good resource for array manipulation, send it my way as well. This is similar to a previous post see
. But I think that solution may be more complex than I need it to be. Many thanks in advance,
Joe