> check http://mywiki.wooledge.org/TemplateFiles
Neither of the solutions is what I need.
- the one based on sed: I want the variable not specified to be
replaced be replaced with an empty string. sed does not do so.
- envsubst will replace all environment variables. I only want to
replace variables that I specified to replace. For ones I do not
specify, replace with empty strings.
--
Regards,
Peng