Files
oam/knowledge base/envsubst.md
2022-05-15 00:24:53 +02:00

236 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