envsubst#
Substitute shell-style $VAR references in text from the environment.
$ export NAME=world
$ echo 'hello $NAME' | envsubst
$ envsubst < template.conf > out.conf
Substitute shell-style $VAR references in text from the environment.
$ export NAME=world
$ echo 'hello $NAME' | envsubst
$ envsubst < template.conf > out.conf