We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hi, I noticed shellwords.Parse does not handle backslash-escaped whitespaces at the end of the argument.
shellwords.Parse
words, err := shellwords.Parse("trailing escaped space\\ ") // invalid command line string
This is due to strings.TrimSpace at the beginning of the function.
strings.TrimSpace
The text was updated successfully, but these errors were encountered:
33bd8f1
Thanks for the rapid fix!
Sorry, something went wrong.
[zsh] Workaround trailing esacped space bug in go-shellwords
d09ad13
mattn/go-shellwords#3 Close #812
fix mattn#3
09c8865
No branches or pull requests
Hi, I noticed
shellwords.Parse
does not handle backslash-escaped whitespaces at the end of the argument.This is due to
strings.TrimSpace
at the beginning of the function.The text was updated successfully, but these errors were encountered: