Skip to content

Tag: envsubst

Why is my envsubst command just inserting blank strings?

I’m trying to run the command envsubst < myfile to replace environment variables but instead of being replaced with their values, they are being replaced with blank strings. Here’s my example command (split onto separate lines for clarity): Here are my results: I’m clearly doing something…