I have a file that contains this <!-- CordovaVersion -->
I want to replace it with <script src="cordova-1.7.0.js" type="text/javascript"></script>
I tried
sed 's/"<!-- CordovaVersion -->"/"<script src="cordova-1.7.0.js" type="text/javascript"></script>"/g' junk4 > junk4_modified
but it doesn’t seem to work. Any help please?
Use some other character like # as delimiter instead of /.