Source from a local .env file
export $(cat .env | xargs) && envsubst < input.txt > output.txtenvsubst cannot work on .env if it has comments
Dec 19, 20251 min read
Source from a local .env file
export $(cat .env | xargs) && envsubst < input.txt > output.txtenvsubst cannot work on .env if it has comments