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
When using this plugin shell variables may be expanded before the script is run, depending on the format used.
This will work fine:
#!/usr/bin/env bash
myvar="pickles"echo"myvar is $myvar"
printing: myvar is pickles
While this will fail:
#!/usr/bin/env bash
myvar="pickles"echo"myvar is ${myvar}"
printing: myvar is
This works fine with the builtin inline script plugin. While the example above is trivial, the second format is used for bash parameter expansions, so those are not possible.
The text was updated successfully, but these errors were encountered:
pmoranga
added a commit
to pmoranga/nixy-step-plugins
that referenced
this issue
Jul 20, 2023
When using this plugin shell variables may be expanded before the script is run, depending on the format used.
This will work fine:
printing:
myvar is pickles
While this will fail:
printing:
myvar is
This works fine with the builtin inline script plugin. While the example above is trivial, the second format is used for bash parameter expansions, so those are not possible.
The text was updated successfully, but these errors were encountered: