Skip to content

fix: math and redirect issues - #7

Merged
cjbell merged 1 commit into
elixir-ai-tools:mainfrom
knocklabs:cb-math-redirects
Jan 25, 2026
Merged

fix: math and redirect issues#7
cjbell merged 1 commit into
elixir-ai-tools:mainfrom
knocklabs:cb-math-redirects

Conversation

@cjbell

@cjbell cjbell commented Jan 25, 2026

Copy link
Copy Markdown
Collaborator

Summary

Fixed:

  • Single-digit redirect parsing: Numbers before redirects with whitespace (echo 1 > file) are now correctly parsed as arguments
  • Division by zero: Now properly errors like bash does
  • Hex/octal escapes: Both echo -e and $'...' now properly interpret \xNN and \NNN escapes
  • Heredoc tab stripping: <<- now strips leading tabs from content
  • Group redirections: { cmd; } &>/dev/null now works correctly

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant