Skip to content
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

Escape $ in strings in bash #66

Open
SamuelePilleri opened this issue Feb 6, 2018 · 0 comments
Open

Escape $ in strings in bash #66

SamuelePilleri opened this issue Feb 6, 2018 · 0 comments

Comments

@SamuelePilleri
Copy link

Consider the following code:

foo = 5;
println("$foo");

When targeting bash, this is the result:

foo=$((5))
"echo" "-e" "$foo"

Clearly, the $ should be escaped like \$, or is this a wanted behaviour?

By the way, your work is really impressive, thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant