a8m / envsubst

Environment variables substitution for Go
MIT License
747 stars 83 forks source link

Need a simple way to escape dollar symbols #27

Closed dexterp closed 3 years ago

dexterp commented 3 years ago

There needs to be a way to insert dollar symbols in a template Instead of creating a variable (E.G. DOLLAR=\$).

For instance if envsubst was used in a bash script, replacing all the dollars $ with a variable will be messy.

dexterp commented 3 years ago

Withdrawn, seems to be already available with $$.