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
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