I\'m trying to write a simple Bash script. I have a simple \"template\" variable:
template = \"my*appserver\"
I then have a function (
String replacement in a bash-script can e.g. be achieved by sed:
template=$(echo $template | sed 's/old_string/new_string/g')
This will replace old_string with new_string in the template variable.