in reply to Re^3: Print next N lines after a pattern is matched.
in thread Print next N lines after a pattern is matched.
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,
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^5: Print next N lines after a pattern is matched.
by ikegami (Patriarch) on Jul 23, 2011 at 21:58 UTC |