📜  sed 从匹配到文件结尾 - Shell-Bash 代码示例

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

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