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

Idea: allow literals #2

Open
diogobaeder opened this issue Mar 7, 2018 · 1 comment
Open

Idea: allow literals #2

diogobaeder opened this issue Mar 7, 2018 · 1 comment

Comments

@diogobaeder
Copy link
Contributor

One thing that could be implemented, which would be helpful, is the support to literal dollar signs.

Something like this:

foo: $${BAR}

would translate to:

foo: ${BAR}

after interpolation.

What do you think?

@lbolla
Copy link
Owner

lbolla commented Mar 7, 2018

I am not sure that's a good idea. Interpolation only happens if a substring like ${...} is found. So, dollar signs $ are allowed, as long as they don't form a substring like ${...}.
Maybe one could use bash syntax of not interpolating something enclosed in single quotes, instead of double quotes, but I am not sure this is a good idea either.
What particular use case are you trying to support?

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

2 participants