Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- cat my_file
- >a1
- AAAT
- >a2
- TTAA
- >a3
- TGCA
- >a4
- TGAC
- >a5
- ATAA
- sed '/a4/,/a2/p' my_file
- >a2
- TTAA
- >a3
- TGCA
- >a4
- TGAC
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement