Show only the matches with grep.
使用grep仅显示匹配项。
The grep utilities: A real-world example
grep工具:一个真实的例子
Auditing You can do grep on querylog.
审计可以对querylog执行grep。
List the files and grep for the inode.
列出文件并使用grep搜索inode。
Next, request the MapReduce job for grep.
接下来,请求用于执行 grep的MapReduce作业。
Examples of the former include sort and grep.
前者的例子包括sort和grep。
Which files contained the lines found by grep?
哪个文件包含grep找到行?
XGrep is a grep like utility for XML documents.
XGrep是一种类似于grep的XML文档工具。
To do so, execute ps –ef | grep oninit command.
为此,执行ps –ef |greponinit命令。
You can use grep, awk, Perl, and other solutions.
您可以使用grep、awk、Perl和其他的解决方案。
With GNU grep, there is no difference in functionality.
使用GNUgrep,功能上没有不同之处。
There are ways to do this with grep, sed, and perl.
可以通过使用 grep、sed和 perl完成此工作。
Using grep in many cases can give you the desired value.
在许多情况下使用grep可以得到需要的值。
The aforementioned grep command would yield two matches.
上述grep命令将生成两个匹配。
If that's the case, we can use grep to filter the results.
如果真是这样的话,我们可以用grep来对结果进行过滤。
This command supports most of your favorite GNU grep options.
该命令支持大部分您所喜爱的GNUgrep选项。
Start txt2regex and specify regexps for grep, sed, and emacs.
启动txt2regex并指定构建用于grep、sed和Emacs的regexp。
The grep utility has other built-in options to refine searches.
grep实用工具包含其他可优化搜索的内置选项。
The files listed when performing the grep are shown in Listing 9.
清单9显示了执行grep后列出的文件。
The grep utility filters input line by line and looks for matches.
grep实用工具逐行过滤输入并寻找匹配。
Here are a few examples of regular expressions using grep as the search tool.
以下是一些使用grep作为搜索工具的正则表达式示例。
GNU Project Web site: Download a free copy of GNU grep for your operating system.
GNU项目网站:下载用于您的操作系统的免费GNUgrep副本。
Listing 12 shows some of the basic regular expressions used with the grep command.
清单12显示了与grep命令一起使用的一些基本正则表达式。
To simplify, the above query is basically formatting the following grep statement.
为了保持简单,以上查询实际上被格式化为下面的grep语句。
You had used regexps for egrep, sed, and perl; now try building it for plain grep.
前面已经使用了适用于egrep、sed和perl的regexp,现在我们将尝试构建适用于普通grep的regexp。
So grep runs through all C files looking for the text pattern that it was given.
因此,grep 检查所有C文件,查找指定的文本模式。
In its simplest use, grep prints those lines that contain text that matches a pattern.
grep的最简单应用是打印那些包含与某个模式匹配的文本的行。
A coarse tool like grep will generally find a lot of things that are not of interest.
象grep这样粗糙的工具通常会找到许多没有什么意义的事物。
This article helps you better understand the regular expressions used by both grep and sed.
本文将帮助您更好地理解grep和sed使用的正则表达式。
One of the powerful tools in LT XML is called sggrep, which is a sort of grep for XML files.
LTXML中一个强大的工具称为sggrep ,它是 XML 文件的一种grep。
应用推荐