I have lets say 90 HTML files and I have to put one new JS script link to head section each of them. Now, i could use some F&R engine of some code compiler
replace it with: link to JS script</head>
But I don't like this solution cause code is mess after that.
I was wondering - how can I use grep to insert new script link right before tag in all .html files in specific dir ?