📜  两个模式之间的 sed 删除 - Shell-Bash 代码示例
📅  最后修改于: 2022-03-11 14:50:24.563000             🧑  作者: Mango
代码示例1
sed '/start/,/end/d' myfile # include start & end pattern
sed -n '1,/start/p;/end/,$p' myfile # only delete between patterns