📜  grep 只有第三场比赛 - Shell-Bash 代码示例

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

代码示例1
#Combine grep and tail for grepping until second match and filtering 
#last with tail command
grep -m2 "two" in-file.txt | tail -n1