sed -i 's/PARTITION([^)]*)//' file报extra characters at the end of d command, 得在-i后加上’’ ,sed -i '' 's/PARTITION([^)]*)//' file
sed -i 's/PARTITION([^)]*)//' file报extra characters at the end of d command, 得在-i后加上’’ ,sed -i '' 's/PARTITION([^)]*)//' file

被折叠的 条评论
为什么被折叠?