envsubst: move to common/

This commit is contained in:
lbonanomi
2019-05-22 11:38:15 -04:00
committed by Starbeamrainbowlabs
parent 6b34c5ce31
commit 36eae03328

View File

@@ -1,20 +0,0 @@
# envsubst
> Substitutes shell format strings with environment variables in text.
> Strings to be replaced should be in either `${var}` or `$var` format.
- Replace environment variables in stdin and output to stdout:
`echo '{{$HOME}}' | envsubst`
- Replace environment variables in an input file and output to stdout:
`envsubst < {{path/to/input}}`
- Replace environment variables in an input file and output to a file:
`envsubst < {{path/to/input}} > {{path/to/output}}`
- Replace environment variables in input from a space-separated list:
`envsubst {{variables}} < {{path/to/input}}`