摘要: ❌ 错误写法: find . -type f -name "*.sh" -exec dos2unix {} ; 这里的 ; 是 shell 的命令结束符,会被 shell 提前解释掉,导致 find 看不到终止符,于是报错“missing argument to `-exec'”。 ✅正确写法(两种 阅读全文
posted @ 2025-12-18 17:03 年华似水゛ 阅读(5) 评论(0) 推荐(0)