I am new to shell scripting. I am extracting some URL's from mail via python but the URL's decoded by the script are broken. So what I thought was to write a code so that I could only extract the required URL's.
Here is the file:
http://stackoverflow.com/questions/17988756/=
how-to-select-lines-between-two-marker-patterns-which-may-occur-multiple-times-w
.
.
.(some text)
http://stackoverflow.com/questions/9605232/=
merge-two-lines-into-one
.
.
.
The output required is:
http://stackoverflow.com/questions/17988756/how-to-select-lines-between-two-marker-patterns-which-may-occur-multiple-times-w
http://stackoverflow.com/questions/9605232/merge-two-lines-into-one
Thanks in advance.