📜  cat 模式后的文件内容 - Shell-Bash 代码示例

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

代码示例1
# greps for Pattern and outputs up to 100000 lines following that line pattern match.
grep -A100000 Pattern file

# greps for word Partition in multiple file ending in .md and outputs up to 15 lines following that line pattern match.
grep -A15 Partition *.md |egrep -v ":--:|:--:" |egrep -v  "md-\|"