I am using the below code for replacing a string inside a shell script.
echo $LINE | sed -e \'s/12345678/\"$replace\"/g\'
but it\'s getting
you can use the shell (bash/ksh).
$ var="12345678abc" $ replace="test" $ echo ${var//12345678/$replace} testabc