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

📅  最后修改于: 2022-03-11 14:49:36.954000             🧑  作者: 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