http://qs321.pair.com?node_id=979990


in reply to Re: Getting lines in a file between two patterns
in thread Getting lines in a file between two patterns

Thanks everyone. And Utilitarian's solution worked :)