I want to remove comment tags in an html file.
<!--- <script save and execute me> -->
<script save and execute me>
sed -i s_^<!-- \(.*\) -->$_\1_ text.sed
but that fails because the < and > are considered to be read in/out characters. I than tried:
sed -i 's_^<!-- \(.*\) -->$_\1_' text.sed
but than the \1 is not evaluated as it should. Hopefully somebody here has ideas?