We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When using a default value that will have a : somewhere in the text, envsubst will go to infinite loop. For example:
:
$ echo '${SOME_URL-http://localhost:8080}' | envsubst
If I remove the quotes or add a double quotes it will work fine:
$ echo ${SOME_URL-http://localhost:8080} | envsubst or $ echo "${SOME_URL-http://localhost:8080}" | envsubst
However, if I want to replace the same env variable in the file it will be stuck:
$ cat file.txt property=${SOME_URL-http://localhost:8080} $ envsubst <file.txt >file2.txt
The text was updated successfully, but these errors were encountered:
parse: fix issue #8
9163442
Thanks for reporting this issue @komljen. it solved with 9163442.
Sorry, something went wrong.
No branches or pull requests
When using a default value that will have a
:
somewhere in the text, envsubst will go to infinite loop. For example:If I remove the quotes or add a double quotes it will work fine:
However, if I want to replace the same env variable in the file it will be stuck:
The text was updated successfully, but these errors were encountered: