sed 替换文件中的字符串 sed -e 's/foo/bar/g' myfilesed -i 's/foo/bar/g' ./m* sed -i '.bak' 's/foo/bar/g' ./m* Error:command a expects \ followed by textsed: RE error: illegal byte sequence Shell 2023-11-25 174 点赞 2 评论 263 浏览