I have special characters in the content of $VALUE which I would to add in file ($FILE).
When I do :
sed -i 's|T_VALUE|$VALUE|g' "$FILE"
my file contains the literal string $VALUE instead of the content of the variable $VALUE.
I have special characters in the content of $VALUE which I would to add in file ($FILE).
When I do :
sed -i 's|T_VALUE|$VALUE|g' "$FILE"
my file contains the literal string $VALUE instead of the content of the variable $VALUE.