Further SED problem
Im may be trying to push SED to far, in which case perl has been 
suggested, but here is my problem ...
For a series of html pages, I need to take the text from the title tag 
and insert it where there is a xx in the document, deleting the xx. Ie 
use a template, fill in the title & let SED do the hard work.
My best guess so far is
/<title>/,/</title>/h
to get the text into hold space, then I hit a problem,
"s" will not accept the hold space as a replacement string
"c\" is a block command
I have looked at h,H,g,G but I still need a substitution.
Any ideas, or is it hello perl ?
Dave
     4 <!-- lockon:a:3:
     5 -->
     6 <title>Specialist cards</title>
     7 <meta name="keywords" content=
     8 "specialist cards, cards, photograph, card, photographs, 
personalised, design">
  
<!-- lockon:a:4:
    31 -->
    32 xx
    33
    86 <div class="botlink">Order <a href="order.html">xx</a></div>
    87
    88 <!-- lockoff
by ...<br>
    33 <!-- lockoff
    34 -->
etc .................
Reply to: