-
Notifications
You must be signed in to change notification settings - Fork 94
New issue
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
String with ! fails #243
Comments
why should this work? i dont remember |
Because that is a valid Bash code and it is required to let the #185 working. |
I found an explanation of |
@Mte90 the problem in your code is that you forgot to escape the interpolation syntax let name = "Derek"
echo "Hello {name}"
// Outputs: Hello Derek
unsafe $echo "Hello {name}"$
// Outputs: Hello Derek Here is the corrected code:
You have to escape the |
Try this code:
let var = unsafe $echo "\${\!var}"$
Generates that report the
\
near the!
:Instead should work and generate a bash code like
var = echo "${!var}"
, this blocks #185The text was updated successfully, but these errors were encountered: