I try to replace some text in a file with the command sed from bash
I want to replace the line :
$app["gentle.root"] = "/home/doc/";
to
$app["gentle.root"] = "/home/exemple/";
I try :
sed -i's/$app["gentle.root"] = "/home/doc/";/$app["gentle.root"] = "/home/exemple/";' /home/martialp/Documents/default.php
But I'm getting this error
sed: -e expression n°1, caractère 7: commande inconnue: `m'