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
HREDOCs with surrounding single quote are ended with the token sans quotes
cat << 'EOF' $literal `values` "without" 'interpolation' EOF
but bashlex expects an end token with the quotes
bashlex
here-document at line 0 delimited by end-of-file (wanted "'EOF'") (position 16)
when trying
bashlex.parse(": <<'EOF'\nx\nEOF")
ending with the included quotes 'EOF' works for bashlex but not bash
'EOF'
bashlex.parse(": <<'EOF'\nx\n'EOF'")
[CommandNode(parts=[WordNode(parts=[] pos=(0, 1) word=':'), RedirectNode(heredoc=HeredocNode(pos=(10, 17) value="x\n'EOF'") input=None output=WordNode(parts=[] pos=(4, 9) word="'EOF'") pos=(2, 17) type='<<')] pos=(0, 9))]
bash -c "cat <<'EOF' x 'EOF'"
bash: line 3: warning: here-document at line 1 delimited by end-of-file (wanted `EOF')
The text was updated successfully, but these errors were encountered:
fix idank#99: implement commented string_quote_removal
197cf57
c8058c1
string_quote_removal: rm escaped and double quotes (idank#99)
b669302
18b8261
fff4df0
No branches or pull requests
HREDOCs with surrounding single quote are ended with the token sans quotes
but
bashlex
expects an end token with the quoteswhen trying
ending with the included quotes
'EOF'
works for bashlex but not bashThe text was updated successfully, but these errors were encountered: