Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # this chains them to make the regex easier to follow
- sed -n -e 's/^${FIRSTPATTERN}//p' test.txt | sed -n -e 's/${SECONDPATTERN}//p'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement