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

Nested double and single quotes are parsed incorrectly #177

Closed
dominiklohmann opened this issue Jul 30, 2019 · 1 comment
Closed

Nested double and single quotes are parsed incorrectly #177

dominiklohmann opened this issue Jul 30, 2019 · 1 comment

Comments

@dominiklohmann
Copy link
Collaborator

Bug report

Yabai does not correctly parse nested quotes.

action="echo 'a "b" c'" reads the action echo 'a instead of echo 'a "b" c'.

@dominiklohmann
Copy link
Collaborator Author

This is actually default behaviour for getopt. Closing this, sorry. I got confused because jq supports this, so when mixing it inline with actions it gets confusing when you need to escape and when not. 🤷‍♂️

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