envsubst

Posted on Sep 28, 2020

if you find yourself doing something with sed to replace a file with some env variable…

well there is a small tool that does it for you!

cat file.txt | envsubst > file_with_subst.txt