Follow Discord
Sweep 03 Dec 2026 · 19:13Z Build v2.1.336 553 read Stable v2.1.332 Latest v2.1.336 Next v2.1.336 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.333 ·

Safety check on sed commands was tightened

The pattern Claude Code uses to check sed commands now expects exactly one space before a w or e flag rather than one or more

You'll notice Improvements
JSON All of v2.1.333
You'll noticeTier: how much it should matter to you
1Useful: my rating, 1 to 5
1Signal: worth watching, 1 to 5
Bash ToolArea: what it touches
ImprovementsKind: in v2.1.333,
ImprovementsSection of the release

Unclear It is not clear whether this changes which sed commands are actually flagged in practice.

What

sed is a command-line tool for editing text. Claude Code checks sed commands when deciding whether a command is safe to run, and part of that check looks for a w, W, e or E flag. That check now expects exactly one whitespace character before the flag. Before, it accepted one or more.

Why

This changes how Claude Code classifies some unusual sed commands as safe or not.

How sure we are
Something disagreesSomething we can check disagrees with this entry, or the writer said they could not settle it.
The writer flagged doubtIt is not clear whether this changes which `sed` commands are actually flagged in practice.

See this entry in the whole of v2.1.333 →

Feedback