Expressions like $1 get replaced with an empty string, but $1 is by definition no environment variable, because it starts with a digit (See https://stackoverflow.com/a/2821183).
This behavior is unexpected different compared to the original gnu envsubst, which does not replace $1.
Expressions like $1 get replaced with an empty string, but $1 is by definition no environment variable, because it starts with a digit (See https://stackoverflow.com/a/2821183). This behavior is unexpected different compared to the original gnu envsubst, which does not replace $1.