mirror of
https://gitea.com/mcereda/oam.git
synced 2026-02-08 21:34:25 +00:00
242 B
242 B
Envsubst
Substitutes environment variables in shell format strings.
TL;DR
envsubst < input.file
envsubst < input.file > output.file
$ cat hello.file
hello $NAME
$ NAME='Johnny' envsubst < hello.file
hello Johnny