how to get all lines after matching word till next different matching word?
For example
1
2
3
4
5
and i need to sed from 1 4 include 1 but not include 5 and bellow