where
x=old_testx
sed 's/$x/New_test/g' <file >file
can any body help to execute the above command
where
x=old_testx
sed 's/$x/New_test/g' <file >file
can any body help to execute the above command
There is a search function here in the forum. I wrote this one .. 2-3 times last 2 weeks I think...
sed 's/'${x}'/New_test/g' <file >file