I have a .config file with the line:
projdir name_of_the_projdir
I need to replace name_of_the_projdir with my variable. I am trying to do this with
sed -i 's/^projdir .*$/projdir '$projdir'/' .le/.config
but i get an error
sed: -e expression
Does anyone know what to do? ... I am trying to replace first and last, and first, and alst / s @. But still not working
source share