{"version":"2.1.333","anchor":"shell-readsearch-classifier-splits-on-and-differently","canonical_anchor":"shell-readsearch-classifier-splits-on-and-differently","heading":"Compound shell commands are split differently when checking for read-only searches","tier":"internal","area":"Bash Tool","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.333\/e\/shell-readsearch-classifier-splits-on-and-differently","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.333","markdown":"### Compound shell commands are split differently when checking for read-only searches\n\nThe rule that splits shell commands on ; and | to judge whether they only read or search now handles spaces before the separator differently\n\n**Unclear.** Whether any real command is now classified differently as a read or search is not clear.\n\n**What**\n\nClaude Code looks at shell commands joined with `;` or `|` and splits them into parts to decide whether the whole command only reads or searches files. The rule that does the splitting has changed in how it treats spaces just before a `;` or `|`. It now takes up those spaces only when they do not follow other spaces.\n\n**Why**\n\nThe change is to how the splitting rule is written. How it changes the classification of real commands is not clear.\n\n- Area: Bash Tool\n- Tier: Under the hood\n- Useful: 1\/5\n- Signal: 1\/5\n- Scope: individual\n- Heads-up: no"}