标题: 豆粑粑 macos sed -i extra characters at the end 问题的解决 [打印本页] 作者: meatball1982 时间: 2020-3-26 21:01 标题: 豆粑粑 macos sed -i extra characters at the end 问题的解决
在macos 下,用sed 删除一个文件的第一行。
sed -i '1d' your_file.txt
复制代码
然后,就出问题了。
sed: 1: "your_file.txt": extra characters at the end of n command