You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Since the value to substitute has to be further expanded, we recursively pass it to bash-parser (at the time I can't think of a better way).
When substituting with an empty string, we try to parse an empty string, and that fail. You can try
to change the code there and skip the parsing in this particular case.
I seem to have found that the ParameterExpansion does not allow an empty substitution.
${parameter:-word}
If parameter is unset or null, the expansion of word is substituted. Otherwise, the value of parameter is substituted.
Example:
Could you have look or tell me where i can change the grammar to allow an empty word, so i can make a pull request.
The text was updated successfully, but these errors were encountered: