To upvote this issue, give it a thumbs up. See this list for the most upvoted issues.
Please avoid AI slops, be concise, and focus on what matters for this issue.
Describe the bug
If the AI model tries to use a word with an apostrophe while inside a $() block it produces an error.
To Reproduce
Steps to reproduce the behavior:
The error happens when a model tries to use an apostrophe (don't, can't, etc) inside a $() block.
❌ git commit -m "$(cat <<EOF … it's … EOF)" → bash: unexpected EOF while looking for matching ' — apostrophe inside $(…), unquoted delimiter
✅ git commit -m "$(cat <<'EOF' … no apostrophe … EOF)" → runs fine — same construct, no apostrophe
✅ git … <<< "it's a test" → runs fine — apostrophe present but not inside $(…)
Clear example that triggers the issue:
git commit -m "$(cat <<EOF
it's
EOF
)"
Expected behavior
No error from an apostrophe in a git commit command.
Doctor
not applicable, saw across multiple models and configurations
Screenshots
None
Additional context
Add any other context about the problem here.
To upvote this issue, give it a thumbs up. See this list for the most upvoted issues.
Please avoid AI slops, be concise, and focus on what matters for this issue.
Describe the bug
If the AI model tries to use a word with an apostrophe while inside a $() block it produces an error.
To Reproduce
Steps to reproduce the behavior:
The error happens when a model tries to use an apostrophe (don't, can't, etc) inside a $() block.
❌ git commit -m "$(cat <<EOF … it's … EOF)" → bash: unexpected EOF while looking for matching ' — apostrophe inside $(…), unquoted delimiter
✅ git commit -m "$(cat <<'EOF' … no apostrophe … EOF)" → runs fine — same construct, no apostrophe
✅ git … <<< "it's a test" → runs fine — apostrophe present but not inside $(…)
Clear example that triggers the issue:
Expected behavior
No error from an apostrophe in a git commit command.
Doctor
not applicable, saw across multiple models and configurations
Screenshots
None
Additional context
Add any other context about the problem here.