New

Try with awk:


awk '/StartPattern/,/EndPattern/' myfile.txt


or


awk '/StartPattern/,/EndPattern\n/' myfile.txt


Enjoy,

Rob.