Page 1 of 1

Escaping # in Execute Command

Posted: Wed Apr 10, 2019 10:59 pm
by Frido
Hello evry on,

i tried to remplace my # character in Execute Commande Active with code \043 but it's not work
i have to execut this Unix command :
sed -i -e "s/\#Coment/Coment/g" /shell/program.sh

and like it's suggested herei had remplaced # character by \043
sed -i -e "s/\043Coment/Coment/g" /shell/program.sh

Thank you for request

Posted: Thu Apr 11, 2019 1:50 am
by chulett
Welcome!

I split you out to your own topic so you can control its fate and linked back to the original conversation you found.