Linux 脚本报 bad interpreter:用 Python 定位并修复 CRLF 与 BOM 2026年10月18日 | 技术 用 Python 原始字节复现 Linux 脚本启动失败,检测 CRLF 与 UTF-8 BOM,另存 LF 副本并验证原文件保留和拒绝覆盖。…… 阅读全文