Escaping # in Execute Command

A forum for discussing DataStage<sup>®</sup> basics. If you're not sure where your question goes, start here.

Moderators: chulett, rschirm, roy

Post Reply
Frido
Participant
Posts: 1
Joined: Wed Apr 10, 2019 10:40 pm

Escaping # in Execute Command

Post 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
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post 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.
-craig

"You can never have too many knives" -- Logan Nine Fingers
Post Reply