📜  sed 从匹配项打印到文件末尾 - Shell-Bash 代码示例

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

代码示例2
For grepping all lines from match to end of file use onw of following:
sed -n '/matched/,$p' file
awk '/matched/,0' file