Given string:
var nav_str = "/index.html,/upgrade.html,/backup.html,/clock.html,/reset.html";
should be converted to:
var nav_str = "/home/sz/index.html,/home/sz/upgrade.html,/home/sz/backup.html,/home/sz/clock.html,/home/sz/reset.html";
using that code:
sed -i -e "s|/(.*.html)|$(pwd)&|g" $FILE
but only get:
var nav_str = "/home/sz/index.html,/upgrade.html,/backup.html,/clock.html,/reset.html";
