I have been trying to replace '{{date}}' with a current date stamp in OSX command line. I have been using the following:
sed -i -e 's/{{date}}/`date`/g' mhp.xml
Does anyone know why it ends up putting
`date`
instead of the actual date?
When I try
date=`date`
echo $date
it works... and shows the current date. Any ideas?