I don't know how to edit some text files and make my job easier. How can I get specific lines inside a enourmous text file, grab it and send to another text file (a new document).
Example 1:
>text_xyz
ASDFGHJKLJGDSAQWEERTYYGFS
.>text_abc
ASDFWQRTYGEQ
So, I need to find those terms (>text_xyz) and grab the lines under the title (ASDFGHJKLJGDSAQWEERTYYGFS).
I think this isn't a difficult job, because when I find the starting code ">" I just need to stop "grabing" when I find another code starting with ">" .
Then, I'll get only those lines:
**>text_xyz**
**ASDFGHJKLJGDSAQWEERTYYGFS**
How can I do this using Linux terminal?