I need to find a way to use a bash script to take a line like this
" <!-- STANDARD FTP :: DELETE THIS BLOCK FOR SECURE FTP AND UNCOMMENT THE SECURE BLOCK BELOW -->
<tr>
<td valign="middle" align="center" height="35">
<a href="http://!domain!/uftp/">Click here to login to your FTP site.</a>
</td>
</tr>
<!-- END STANDARD FTP -->"
out of an index.html file and replace it with a line like this
"<!-- SECURE FTP :: REMOVE THIS COMMENT/LINE TO ENABLE SECURE FTP
<tr>
<td valign="middle" align="center" height="35">
<a href="https://!domain!:443/!domain!">Click here to login to your Secure FTP site.</a>
</td>
</tr>
// END SECURE FTP :: REMOVE THIS COMMENT/LINE TO ENABLE SECURE FTP -->"
I tried using the sed command and I could not get it to work?
Thanks