Trying to replace
window.location = '/loft-run'+ResourceManager.hotlegs + mainPage + ".html#" + newhash; to
window.location = ResourceManager.hotlegs + mainPage + ".html#" + newhash; in a file. what I have tried
sed -i 's~/loft-run'+ResourceManager.hotlegs + mainPage + ".html#" + newhash"~ResourceManager.hotlegs + mainPage + ".html#" + newhash"' warmblanket.js
Have tried some sed commands but not much of help. Your suggestions would be of great help.
'in thesedcommand line (most of which is not quoted at all so the whole line is really broken).