{"version":"2.1.285","anchor":"heredoc-parser-rejects","canonical_anchor":"heredoc-parser-rejects","heading":"Shell commands with a heredoc <<- split across lines are now rejected","tier":"notice","area":"Permissions","url":"https:\/\/changelogs.core-directive.com\/v\/2.1.285\/e\/heredoc-parser-rejects","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.285","markdown":"### Shell commands with a heredoc `<<-` split across lines are now rejected\n\nClaude Code's shell parser now refuses a heredoc `-` that only sits next to `\n\n**What**\n\nA heredoc is a way to feed several lines of text into a shell command, started with `<<` or `<<-`. A backslash at the end of a line joins it to the next one. Claude Code reads shell commands before running them. It now rejects a command where the `-` only ends up next to `<<` because of such a join. Before, it was accepted.\n\n**Why**\n\nThis makes shell command checking harder to trick. A command written this way could be read one way by Claude Code and another way by the shell.\n\n- Area: Permissions\n- Tier: You'll notice\n- Useful: 1\/5\n- Signal: 1\/5"}