i have special characters in the content of $VALUE which I would to add in file ($FILE
).
When I run this cammand :
sed -i "s|T_VALUE|$VALUE|" "$FILE"
i have an error unterminated s command
i saw some post saying i need to escape the special characters, but i do not know them upfront as $VALUE
is a dynamic value.
how can i solve this?