I have a file with the following content
(ABC)
I create an env variable with the following command
setenv ABC {"a":{"b":"http://c","d":"http://e"}}
Then I run the sed command
sed 's|(ABC)|('"$ABC"')|' myFile
This returns with this
a:b:http://c a:d:http://e
It shuld actually return this
{"a":{"b":"http://c","d":"http://e"}
Any ideas on what I am missing