{"version":"2.1.284","anchor":"bash-command-reader-follows-backslash-newline-continuations","canonical_anchor":"bash-command-reader-follows-backslash-newline-continuations","heading":"Bash command checks now follow line continuations and refuse commands they can't read","tier":"notice","area":"Permissions","url":"https:\/\/changelogs.core-directive.com\/v\/2.1.284\/e\/bash-command-reader-follows-backslash-newline-continuations","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.284","markdown":"### Bash command checks now follow line continuations and refuse commands they can't read\n\nThe reader that checks shell commands before they run now follows backslash line breaks and marks more tricky commands as unreadable\n\n**Unclear.** What happens next with a command marked unreadable is not settled, though most likely Claude Code asks you for permission.\n\n**What**\n\nBefore Claude runs a shell command, Claude Code reads it to work out what it will do and whether it needs your permission. In a shell, a backslash at the end of a line joins it to the next line. That reader now follows such joins even when they fall in the middle of:\n\n- operators such as `&&`\n\n- redirections such as `<<`\n\n- heredoc markers (a heredoc is a block of text passed to a command, ended by a chosen word)\n\n- the openers `$(` and `${`, which run or expand something inside a command\n\nIt also finds heredoc end words that are split across joined lines. The reader now marks a command as unreadable when it contains:\n\n- a heredoc end word it cannot spell the way bash would\n\n- a heredoc end word that reads as empty\n\n- a `{` that could either start a group of commands or be a plain argument\n\n- a `${...@P}` expansion, which runs whatever the variable holds\n\n**Why**\n\nBefore, a line break in the middle of `&&`, `<<`, `$(` or `${` could make the reader see a different command from the one the shell runs, which could hide a command inside it from permission checks. Now, when the reader cannot follow a command, it says so instead of trusting its own reading.\n\n- Area: Permissions\n- Tier: You'll notice\n- Useful: 1\/5\n- Signal: 1\/5"}