mgrep多行 grep 工具
mgrep 是一个执行多行 grep 的扩展工具。其设计目的并不是为了替换 grep,而是兼容 grep ,实现对 grep 的扩展。
示例用法:
# Search for lines with "Romeo" in the file shakespeare-romeo_and_juliet: mgrep Romeo shakespeare-romeo_and_juliet # Count the number of include directives in each .cc file: mgrep -c '#include' *.cc # List those files that have "John Doe" in them, regardless of capitalization: mgrep -il 'John Doe' *.cc
评论
GNU grep文本搜索工具
grep(globalsearchregularexpression(RE)andprintouttheline,全面搜索正则表达式并把行打印出来)是一种强大的文本搜索工具,它能使用正则表达式搜索文本
GNU grep文本搜索工具
0
coccigrepC 语言的语义 grep 工具
Coccigrep是一个C语言的语义grep工具,用于查找代码中给定的结构定义的位置以及某个属性、集合被引用的位置。示例用法:$coccigrep -tPacket*csource-af-packet
coccigrepC 语言的语义 grep 工具
0