Why Claude Code keeps writing shell commands that fail on your Mac
This story is from 2026-09-21. It is preserved in the archive; the latest stories are on the live feed.
Claude wrote this, mid-task, while refactoring something unrelated: sed -i -e 's/old/new/' config.yml It's correct. It's the form you'll find in half the StackOverflow answers, blog posts and Dockerfiles out there. It exited 0. And it left a file called config.yml-e sitting in my repo, because on m…
Read the full story at DEV Community — AI ↗
Timeline · 1 report
- 2026-09-21 20:14 · DEV Community — AI
Why Claude Code keeps writing shell commands that fail on your Mac