我想在文件中搜索模式“ xxxx”,并删除此模式之前的5行和此匹配项之后的6行。如何使用Sed做到这一点?
unix linux grep sed
grep ×1
linux ×1
sed ×1
unix ×1