dthacker has asked for the wisdom of the Perl Monks concerning the following question:
Greetings Fellow Monks!
I've spent some Super Search time on this but I'm not seeing the answer. I need to pull a line of data out of the output of an Informix database utility. It looks like this:
Dave
I want the line of numbers after the the line that begins with "Buffers." A co-worker pointed out that I can just match the first line that begins with a digit. True, but that may not always be so! How could I get the next line after the line that starts with "Buffers" regardless of what it started with? TIADDR -- Running -- # Event Snoopy Snoopy Replay Replay Current Current Buffers ID Position ID Position ID Position 1024 1667721 2975e7c 1667717 6d44e10 1667721 2982000
Dave
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Getting the next line after a match
by danger (Priest) on Dec 20, 2001 at 02:28 UTC | |
Re: Getting the next line after a match
by Juerd (Abbot) on Dec 20, 2001 at 02:43 UTC | |
Re: Getting the next line after a match
by rje (Deacon) on Dec 20, 2001 at 02:55 UTC | |
Re: Getting the next line after a match
by melguin (Pilgrim) on Dec 20, 2001 at 02:57 UTC |
Back to
Seekers of Perl Wisdom