Hello
I have a .sh script that needs to take a template and replace zzz in the template file with the user's name. I cannot figure out how to make the following work from my script (works from the command prompt) but not when I put it inside a *.sh script
sed 's/xxx/$USER/g' template.conf > text.txt
Like I said the above line works from the cmd line but not from inside the script. How can I make it expand properly?
thanks in advance
--a