in reply to How to print lines between two patern only one time, not multiple timese as pattern exists in this file multiple times.

Hmm, it would be good to have an idea on the content of the file. Maybe something like this:
while (<>) { print $_ if /Startpoint/ ... /slack/ ; last if /slack/; }
  • Comment on Re: How to print lines between two patern only one time, not multiple timese as pattern exists in this file multiple times.
  • Download Code