-
Notifications
You must be signed in to change notification settings - Fork 42
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
Merge changes in to support parsing bash scripts #737
base: future
Are you sure you want to change the base?
Conversation
1ae61d4
to
d451f5a
Compare
Signed-off-by: Bolun Thompson <[email protected]>
Signed-off-by: Bolun Thompson <[email protected]>
Signed-off-by: Bolun Thompson <[email protected]>
Signed-off-by: Bolun Thompson <[email protected]>
The bash tests contain scripts which use UTF-8 only characters, but, by default, Python throws an exception when writing non-ASCII characters to a file. Signed-off-by: Bolun Thompson <[email protected]>
Signed-off-by: Bolun Thompson <[email protected]>
Signed-off-by: Bolun Thompson <[email protected]>
Signed-off-by: Bolun Thompson <[email protected]>
OS = |
OS = |
Due to the prescence of a '*' character in the sed/grep regex string which is correctly interpreted as a glob conservatively.
OS = |
OS:ubuntu-20.04 |
OS = |
OS:ubuntu-20.04 |
The tests all pass, so this should be ready for review. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great to me! Could we also add a sentence in README saying that if your script includes bash syntax you can use the beta --bash
flag to support it? Also adding a few paragraphs in docs/bash.md to talk about the architecture of the solution?
Signed-off-by: Bolun Thompson <[email protected]>
OS = |
e951405
to
b3079df
Compare
OS = |
OS = |
Signed-off-by: Bolun Thompson <[email protected]>
b3079df
to
c6dbe32
Compare
OS = |
I wrote some basic documentation — is this good or should I elaborate on some part? |
OS:ubuntu-20.04 |
OS:ubuntu-20.04 |
OS:ubuntu-20.04 |
OS:ubuntu-20.04 |
Signed-off-by: Bolun Thompson <[email protected]>
OS = |
OS:ubuntu-20.04 |
Code written by @sethsabar. The tests pass with the changes from binpash/shasta#5 and binpash/libbash#1 (CI will fail until those are merged in).