I have file .config with line :
projdir name_of_the_projdir
I need to with replace name_of_the_projdir with my own variable. I try to do it with
sed -i 's/^projdir .*$/projdir '$projdir'/' .le/.config
but i get error
sed: -e expression #1, char 25: unknown option to `s'
anyone know what to do ?... i try to replace first ' and last with " and first and alst / with @ . But still not work