Files
oam/knowledge base/envsubst.md
2022-05-12 22:28:07 +02:00

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='mek' envsubst < hello.file
hello mek