in reply to Re^2: Print next N lines after a pattern is matched.
in thread Print next N lines after a pattern is matched.

Your teacher should've given you some code to start with. Show what code you *do* have, and I'll be glad to give you some pointers.

...roboticus

When your only tool is a hammer, all problems look like your thumb.

  • Comment on Re^3: Print next N lines after a pattern is matched.