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

Don't erase whether a metacharacter was escaped #13

Open
ssokolow opened this issue May 20, 2022 · 1 comment
Open

Don't erase whether a metacharacter was escaped #13

ssokolow opened this issue May 20, 2022 · 1 comment

Comments

@ssokolow
Copy link

Maybe I missed something, but Shlex appears to return the same output for all these $ characters:

foo="$BAR"
bar="\$baz"
baz='$quux'
@fenhl
Copy link
Collaborator

fenhl commented Jul 20, 2022

Perhaps this could be combined with #9 into a more feature-rich lexer that outputs tokens with metadata and not just strings.

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

No branches or pull requests

2 participants