mirror of
https://gitea.com/mcereda/oam.git
synced 2026-02-09 05:44:23 +00:00
236 B
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