I have a file with too many lines.
Its constructed like:
Text
Text
Text
<--!Important Text begins here-->
important Text
Important Text
Important Text
<--!Important Text ends here -->
Unimportant Text
....
<--!Important Text begins here-->
important Text
Important Text
Important Text
<--!Important Text ends here -->
Unimportant Text
....<--!Important Text begins here-->
important Text
Important Text
Important Text
<--!Important Text ends here -->
Unimportant Text
....
and so on.
How can i take the important part and save it in a new file? I am using the dash terminal from Macintosh