No ERB/Ruby? Just use built in envsubst for templates
template.txt contains:
Hello ${NAME}
Then you could run:
export NAME=Dan
envsubst < template.txt
And the result would be “Hello Dan”
template.txt contains:
Hello ${NAME}
Then you could run:
export NAME=Dan
envsubst < template.txt
And the result would be “Hello Dan”