Hi guys,
I have a file like this...
file1:
-----
dddd
Final
.....
.....
....
<pg name="path" type="Path">
....
....
....
i need to grep from "Final" to "<pg name="path" type="Path">"
I was trying ,
cat file1 | awk '/Final/,/<pg name=/"path/" type=/"Path/">/' > test
seems to not working. Can you guys help ?