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

19 lines
242 B
Markdown

# Envsubst
Substitutes environment variables in shell format strings.
## TL;DR
```shell
envsubst < input.file
envsubst < input.file > output.file
```
```shell
$ cat hello.file
hello $NAME
$ NAME='mek' envsubst < hello.file
hello mek
```