Dave selby wrote:

I need to get the contents of a HTML title tag & put it in a string.

ie
<title>specialist cards</title>

I need the "specialist cards" in  a variable $titlecontents
I thought it would be easy with sed

sed -n '/<title>/,/<\/title>/p'

But no go. I have tried various ways but to no avail.

Any ideas ?

Dave


I got all your e-mails, many thanks. I will try them out ...

Dave


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Reply via email to