📜  bash grep all after match - Shell-Bash 代码示例

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

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