grep
美
英 
例句
A quick grep among the startup scripts reveals that this is part of the hplip service, which provides "HP Linux Imaging and Printing. "
对启动脚本进行grep处理,能够看出python是hplip的一部分,hplib提供了“HPLinux图形和打印”服务。
We were heavily influenced by GREP, a popular string-matching utility on UNIX, which had been created in our research center.
GREP对我们的影响很大,它是UNIX下一个很流行的字串匹配工具。GREP也是我们研究中心开发的。
One of the best ways to find where the code for a feature you saw in the program resides is to use the grep command.
要找到您在程序中看到的某个特性的代码的驻留位置,最好的方法之一就是使用grep命令。
Industry, or, at least, the recruiters-who-use-grep, are surely clamoring for Java to be taught.
整个软件行业,或者说至少是其中那些使用grep命令过滤简历的招聘经理,确实是在一直叫嚷,要求学校使用Java语言教学。
We initially decided to use the JAR tool to list the contents of the various runtime JARs and grep for the classes in question.
我们最初决定使用JAR工具列出JAR的各种运行时间的目录并查找出现问题的类。
For the programmers who want Perl to be a more functional language, map and grep can satisfy the craving.
对于那些希望Perl成为具有更强函数性语言的程序员,map和grep可以满足此需求。
You are advised to do this so alt_disk_copy does not misinterpret the command, as it uses grep to search for the string.
建议您这么做,因为alt_disk_copy使用grep搜索字符串,这么做它就不会误解命令。
Any time you see a reference to the C: drive or a call to a specific tool (like grep), change the script immediately.
每当看到对C:盘的引用,或者看到对特定工具(例如grep)的调用时,应该马上更改脚本。
The grep utility works by searching through each line of a file (or files) for the first occurrence of a given string.
grep工具的工作方式是对文件的每一行搜索给定字符串的首次出现。
A critical component of this speed is to use the highly refined, efficient algorithms contained within grep.
获得此速度的关键组件是使用grep内包含的高度精确的高效算法。
This is just a tad more convenient than using grep on system header files, but it's less error-prone.
虽然这仅比对系统头文件使用grep方便一小点,但是它更不容易出错。
Take the output of that command and use grep to get the line that has the string Mem in it.
获取这个命令的结果,并使用grep获取包含字符串Mem的行。
The various options to grep do the work of a handful of small utilities that would have ended up sharing, or duplicating, a lot of code.
grep的各种选项完成许多小实用程序的工作,如果这些工作都由单独的小实用程序来完成,最终会造成大量共享的、重复的代码。
In this example, grep filters the lines, outputting all files with Dec in their modification dates as well as in their names.
在此示例中,grep对行进行筛选,并输出其修改日期和名称中带Dec的所有文件。
Examine the same file system with the lsfs command to see what information is similar and different between it and the grep output.
使用lsfs命令检查文件系统,看它与grep输出结果之间有何异同。
The grep utility does not support capture, because its purpose it to print lines containing a pattern.
grep实用工具不支持捕获,因为其目标是打印包含模式的行。
Initially GREP put much effort into establishing the geographical distribution and epidemiology of the disease.
全球根除牛瘟计划起初集中力量确定该疾病的地理分布和流行病学。
Regexps are also popularly used in the Perl language, but Perl regexps are different from those you'd build using grep.
regexp在Perl语言中也很常用,但Perlregexp与使用grep构建的regexp不同。
The default behavior of grep is to print the file name in which a match was found only if multiple files were specified.
grep的默认行为是在指定多个文件的情况下打印从其中找到匹配项的那个文件名称。
The existing data store search options provided by LDAP do not have the speed and flexibility grep users are accustomed to.
LDAP所提供的现有数据存储搜索选项不具有grep用户已经习惯了的速度和灵活性。
The second important note about this example is that you've performed the grep operation remotely.
关于这个示例,第二项需要说明的重要内容是,您以远程的方式执行了grep操作。
For practical purposes, regular expressions need to be handled on an ad hoc basis -- and we have grep for just this purpose.
实用起见,规则表达式需要以特殊方式处理--为此我们使用grep。
Note that this is not regular expression matching as used by grep.
注意:这不是grep使用的正则表达式匹配。
A basic-but-common grep usage error involves piping the output of cat to grep to search the contents of a single file.
grep的一个常见的基本用法错误是通过管道将cat的输出发送到grep以搜索单个文件的内容。
The launching of GREP was founded on the scientific understanding that the eradication of rinderpest was feasible.
全球根除牛瘟计划依据根除牛瘟是可行的科学认识。
The http. conf file can be located usually by performing ps -ef|grep http and identifying the conf file in use.
通常可以通过执行ps-ef|grephttp并确定正在使用的conf文件来找到http.conf文件。
The add_device. php script is run with this IP address, with the output filtered to only the line containing the ID using the grep command.
add_device.php脚本就在此IP地址运行,其结果只被那些包含使用grep命令ID的行所过滤。
Grep works exactly like map, except that the elements only "pass through" if the expression or block returns true.
grep与map的工作方式十分类似,只是在表达式或块返回true时,元素只是“通过”。
So grep runs through all C files looking for the text pattern that it was given.
因此,grep检查所有C文件,查找指定的文本模式。
GNU Project Web site: Download a free copy of GNU grep for your operating system.
GNU项目网站:下载用于您的操作系统的免费GNUgrep副本。
Some of the newer versions of grep (such as GNU grep) highlights the regexp in color when you use the --color option, as shown in Figure 1.
一些较新版本的grep(如GNUgrep)可在使用--color选项时用颜色突出显示regexp,如图1中所示。
In fact, searching a collection of files is so common that grep has its own option to recurse a file system hierarchy.
事实上,搜索文件集是一项常见的工作,所以grep具有相应的选项以递归遍历整个文件系统层次结构。
searches the input files for lines containing a match to a given pattern list.
grep以行为单位搜索那些包含给出模板列表的输入文件。
grep -l prints the name of the file if a match is found and then stops further matching in that file.
grep-l在发现一个匹配项之后即打印文件的名称并停止在该文件中的进一步匹配。
For instance, the -w option restricts matches to whole words, so grep -i -w man would exclude Catwoman and Batman, for instance.
例如,-w选项限制于匹配整个单词,因此grep-i-wman将排除Catwoman和Batman(举例来说)。
Map and grep evaluate a block or an expression for each element of a list.
Map和grep对列表的每个元素计算块或表达式。
This book shows how to design and then implement simple versions of many Unix tools: grep, sort, ed, and the like.
这本书展示了如何设计然后实现许多简单版的Unix工具:grep、sort、ed等。
My first thought is that I could use simple grep commands to search for the number of quakes per day.
我第一个想到的就是使用简单的grep命令来搜索每天的地震数。
In its simplest use, grep prints those lines that contain text that matches a pattern.
grep的最简单应用是打印那些包含与某个模式匹配的文本的行。
The shell remains independent; find is a producer, grep acts as a consumer (for find) and as a producer (for wc).
shell仍然是独立的;find是生成者,grep作为find的消费者和wc的生成者。