envsubst

· 33 words · 1 minute read

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