教程 / 实战普通
Your Coding Agent's sed -i Works on Linux and Breaks on macOS. BSD vs GNU sed, Explained
内容摘要
Agents write GNU sed -i. macOS ships BSD sed, which reads your script as a backup suffix. Where the split came from and the forms that work on both.