grep
n. (Grep)人名;(苏里)格雷普
n. UNIX工具程序;可做文件内的字符串查找
2026-05-06 09:47 浏览次数 23
n. (Grep)人名;(苏里)格雷普
n. UNIX工具程序;可做文件内的字符串查找
strings grep二进制文件
Grep Nowell标签
network grep网络查找
grep expressions特征码设置
grep tech只列出笔记目录下的文档
FIND grep在文件中查找字符串
sed grep替换字符串
grep find在文件中寻找字串
Nowell Grep名称
having the new executable, you can use the grep utility to search for main in the map file to find its address.
得到新的可执行应用程序之后,您就可以使用grep工具在映像文件中查找main 来寻找它的地址了。
in addition, many versions of linux will load the entire flat file into memory during the grep run, vastly enhancing the performance on subsequent runs.
此外,许多版本的linux都在grep运行期间把整个平面文件装入到内存中,可极大地增强后续运行的性能。
filtering, for example, using grep or other tools, is also possible, but you need to make sure to embed the entire remote command expression into the quotes (see listing 3).
还可以进行筛选工作,例如使用grep或者其他工具,但是您需要确保将整个远程命令表达式嵌入到引号中(请参见清单3)。
grep -l prints the name of the file if a match is found and then stops further matching in that file.
grep-l在发现一个匹配项之后即打印文件的名称并停止在该文件中的进一步匹配。
egrep is a more powerful version of grep that allows you to search for more than one object at a time.
egrep是grep的一个功能更加强大的版本,它让我们可以一次搜索多个对象。
the command searches your entire home directory (find /home/joe) to find all regular files (-type f) with the suffix .txt, and then runs the grep command to search for the string monthly report.
该命令将搜索整个home目录 (find /home/joe)以查找所有的常规文件 (-typef) 中具有后缀.txt 的文件,然后运行grep命令来搜索字符串monthlyreport。
first, run a grep command with the -o option, if your version supports it.
首先,使用-o选项(如果您的版本支持它的话)来运行grep命令。
for the programmers who want perl to be a more functional language, map and grep can satisfy the craving.
对于那些希望perl成为具有更强函数性语言的程序员,map和grep可以满足此需求。
grep works exactly like map, except that the elements only 「pass through」 if the expression or block returns true.
grep 与map 的工作方式十分类似,只是在表达式或块返回true 时,元素只是「通过」。
with multiple files, grep with the -c option returns a separate count for each file, one on each line, whereas a pipe to wc gives a total count for all files combined.
对于多个文件,带-c选项的grep返回每个文件的单独计数,每行一个计数,而针对wc 的管道则提供所有文件的组合总计数。
you can check what some of the function calls do by using grep to find the functions and take a look at their code, as well.
您也可以检查部分函数调用的功能,方法是使用grep来找到那些函数并查看它们的代码。
the program takes advantage of unix's ability to run a grep command on output generated by a command, which lets you automatically narrow the data python has to parse.
这个程序利用unix的功能对某个命令生成的输出结果运行grep命令,这样做允许您自动缩小python必须解析的数据的范围。
because it finds at least one match to its two-character pattern on every line, the grep command outputs every line in the input file.
由于会在每行至少找到此双字符模式的一个匹配项,因此grep命令会输出输入文件中的每个行。
after the grep stage, part 1 printed out the results returned in sequential order.
在grep阶段后,第1部分输出了按连续顺序返回的结果。
show only the matches with grep
使用grep仅显示匹配项
listing 12 shows some of the basic regular expressions used with the grep command.
清单12显示了与grep命令一起使用的一些基本正则表达式。
for instance, i often use find in combination with grep or perl to process a large number of files.
例如,我经常将find与grep或者perl 一起使用,以便对大量的文件进行处理。
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命令。
the existing data store search options provided by ldap do not have the speed and flexibility grep users are accustomed to.
ldap所提供的现有数据存储搜索选项不具有grep用户已经习惯了的速度和灵活性。
for example, a simple grep command can help you find files that match certain search criteria.
例如,一个简单的grep命令能够帮助您找到匹配特定搜索条件的文件。
xargs consumes the filenames from find and runs grep -l repeatedly to process every file, no matter how many files are named.
xargs 接收来自find 的文件名并重复运行grep-l以处理每个文件,而不论有多少个文件。