且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

使用sed在bash中查找和替换循环

更新时间:2022-11-12 22:21:51

您正在运行BSD sed(在OS X下),因此-i标志需要一个参数来指定您希望后缀为什么.

You're running BSD sed (under OS X), therefore the -i flag requires an argument specifying what you want the suffix to be.

此外,没有文件与全局*.js匹配.

Also, no files match the glob *.js.