in reply to Re^2: perl one line for advanced grep (current line and next one)
in thread perl one line for advanced grep (current line and next one)

It also hangs if the last line matches. So much for working off the top of my head.
  • Comment on Re^3: perl one line for advanced grep (current line and next one)