{"version":"2.1.333","anchor":"bash-test-bracket-detection-no-longer-spans-newlines","canonical_anchor":"bash-test-bracket-detection-no-longer-spans-newlines","heading":"Fewer multi-line shell scripts are treated as bracket test commands","tier":"notice","area":"Bash Tool","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.333\/e\/bash-test-bracket-detection-no-longer-spans-newlines","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.333","markdown":"### Fewer multi-line shell scripts are treated as bracket test commands\n\nClaude Code now spots a [ or [[ test command only when spaces or tabs come before the bracket, not line breaks\n\n**Unclear.** It is not clear whether this classification affects permission prompts or is only used for usage reporting.\n\n**What**\n\nClaude Code sorts the shell commands it runs into kinds. One kind is a test command, which starts with `[` or `[[` and checks a condition. Previously any whitespace, including line breaks, could come before the bracket. Now only spaces and tabs can, so a multi-line script with a bracket at the start of a later line is no longer sorted as a test command.\n\n**Why**\n\nSome commands, mostly multi-line scripts, are now classified differently than before.\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"}