I'm running a Web Server in a Virtual Box for testing some projects. And I noticed that some of the html files have this unwanted lines. I want these lines of code from multiple html/htm files removed so I did it like this:
find /Desktop/TEST_REMOVAL3/ -name '*.html' -or -name '*.htm' -or -name '*.php' | sed -i "/<SCRIPT Language=VBScript>/,/ //--></SCRIPT><!-- /d"
So far, the 1st part where if looks/finds all html files works. The part where I need to remove the lines starting from
<SCRIPT Language=VBS> to
sed fails :D
I'll try to figure it out again while waiting for your suggestions and scolding on where I went wrong :D