Lets see if I can totally screw up this explination again.
I have one file, lets call it "template.html".
I want to put sentance "replace this line" in template.html
I have another file, lets call it " text_of_HTML_page"
Now with a Sed command I want to put the file "template.html" and the contents of " text_of_HTML_page" where the phrase "replace this line" was and output it to index.html
If that was clear as mud, this is my try:
sed s/ "replace this line"/ $(cat text_of_HTML_page )/g > index.html
I know I need many \ marks in this but left them out so it could be understood.
To explain this in a differnet way, I want to find a nice template for a web page that uses a fancy editor I do not have. I want to use a simple editor to create the content for each page. I then want to insert the content into someone else's nicely create page.