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

This node falls below the community's minimum standard of quality and will not be displayed.
  • Comment on Re^2: Print next N lines after a pattern is matched.

Replies are listed 'Best First'.
Re^3: Print next N lines after a pattern is matched.
by roboticus (Chancellor) on Jul 22, 2011 at 19:33 UTC

    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.