网页制作工具下载,上海网站seo公司,整站优化案例,wordpress连接数据库出错错误描述 在macOS 上执行sed命令,报错
sed -i s/book/books/g demo.txt
sed: 1: extra characters at the end of d command解决方法 原因是mac的和linux写法不一样
linux
sed -i s/book/books/g demo.txtmac
sed -i s/book/books/g demo.txt
错误描述 在macOS 上执行sed命令,报错
sed-i's/book/books/g' demo.txt
sed: 1: extra characters at the end of d command