Hey,
I am trying to extract the page title from an HTML page
cat index.html | grep -i "title>"| sed 's/<title>/ /i'| sed 's/<\/title>/ /i'
The problem happens when some pages are written in one line! (believe me it happens)
How do I solve that?
Thanks!