I'd like to replace a string within a variable, so e.g.
Test=Today, 12:34
I'd like to replace the "Today" within the variable Test with a Date variable I declared before.
I tried using the "-sed" command,
sed -i -e "s/Today/$Date" '$Test'
but it would just print out an error and the file '$Test' is not known. So using sed is only possible using text files?
Kind regards, X3nion