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 threshold of quality. You may see it by logging in.
  • 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 ikegami (Patriarch) on Jul 22, 2011 at 19:44 UTC

    Why are you telling me this? That's not the code I posted.

    PS — Please put <c>...</c> tags around computer text (code, data, output, etc).

      Maybe manutd doesn't know <> meaning. It read a line from standard input, and if you have an argument in the command line statement, perl will interpret (by default) that it is a file which has to read as standard input (see perlrun)

      Regards,
        To read from FILE, he just has to change <> to <FILE>.