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 218 点赞 3 评论 330 浏览