📜  sed 从头到尾匹配 - Shell-Bash 代码示例

📅  最后修改于: 2022-03-11 14:51:17.209000             🧑  作者: Mango

代码示例1
sed '/[match]/q' file.txt    
#Include q option at the end to grep untilmatch only