{"version":"2.1.333","anchor":"shell-parsing-fixes","canonical_anchor":"shell-parsing-fixes","heading":"Fewer misreadings of shell commands with arithmetic or NUL redirects","tier":"notice","area":"Bash Tool","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.333\/e\/shell-parsing-fixes","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.333","markdown":"### Fewer misreadings of shell commands with arithmetic or NUL redirects\n\nClaude Code now recognises `\n\n**What**\n\nBefore running a shell command, Claude Code reads it to decide what permissions it needs. Two parts of that reading changed:\n\n- A command containing `$((` followed by `<<` and `))` is now recognised as arithmetic (such as a bit shift) rather than a heredoc (a way of feeding several lines of text into a command).\n\n- The pattern that spots output sent to `NUL` (the Windows equivalent of discarding output) now matches the whole run of `>` characters, so it no longer starts partway through one.\n\n**Why**\n\nThis reduces cases where Claude Code misreads a shell command while checking whether it is allowed to run.\n\n- Area: Bash Tool\n- Tier: You'll notice\n- Useful: 1\/5\n- Signal: 1\/5\n- Scope: individual\n- Heads-up: no"}