doubt it sed

Hello..

    i want to use variable in sed..

like
sed 's/ROOTMAILID/$variable/g' conf.test

but its not working..
please help

thanks in advance

esham

use double quotes ..
like this

sed "s/ROOTMAILID/$variable/g" conf.test

thanks ..that worked.....

:slight_smile: :slight_smile: