in reply to I still can't get only the necessary lines from the file.
if (/START context/ .. /\* End Context \*/) { print unless /START context|\* End Context \*/; } [download]