国产高清精品免费区-男女一进一出抽搐免费视频-中日韩一二三级黄色永久视频-日韩精品人妻一区二区免费视频-日本久久视频在线观看-99热这里只有精品88热-亚洲韩国黄色最新短视频一区-日韩伦理在线观看免费全集-国产av一区二区三区天堂

grep

grep

 英

  • 網(wǎng)絡(luò)查找字符串;正則表達(dá)式;搜索字符串

例句

A quick grep among the startup scripts reveals that this is part of the hplip service, which provides "HP Linux Imaging and Printing. "

啟動腳本進(jìn)行grep處理能夠看出pythonhplip一部分hplib提供HPLinux圖形打印服務(wù)

We were heavily influenced by GREP, a popular string-matching utility on UNIX, which had been created in our research center.

GREP我們影響很大UNIX一個流行匹配工具GREP也是我們研究中心開發(fā)

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.

整個軟件行業(yè)或者至少其中那些使用grep命令過濾簡歷招聘經(jīng)理確實(shí)一直叫嚷要求學(xué)校使用Java語言教學(xué)

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各種運(yùn)行時間目錄查找出現(xiàn)問題

For the programmers who want Perl to be a more functional language, map and grep can satisfy the craving.

對于那些希望Perl成為具有強(qiáng)函數(shù)性語言程序員mapgrep可以滿足需求

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.

每當(dāng)看到C引用或者看到特定工具例如grep調(diào)用應(yīng)該馬上更改腳本

The grep utility works by searching through each line of a file (or files) for the first occurrence of a given string.

grep工具工作方式文件每一搜索給定字符串首次出現(xiàn)

A critical component of this speed is to use the highly refined, efficient algorithms contained within grep.

獲得速度關(guān)鍵組件使用grep內(nèi)包含高度精確高效算法

This is just a tad more convenient than using grep on system header files, but it's less error-prone.

雖然系統(tǒng)文件使用grep方便點(diǎn)但是容易出錯

Take the output of that command and use grep to get the line that has the string Mem in it.

獲取這個命令結(jié)果使用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各種選項完成許多實(shí)用程序工作如果這些工作單獨(dú)實(shí)用程序完成最終造成大量共享重復(fù)代碼

In this example, grep filters the lines, outputting all files with Dec in their modification dates as well as in their names.

在此示例grep進(jìn)行篩選輸出修改日期名稱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命令檢查文件系統(tǒng)grep輸出結(jié)果之間異同

The grep utility does not support capture, because its purpose it to print lines containing a pattern.

grep實(shí)用工具支持捕獲因為目標(biāo)打印包含模式

Initially GREP put much effort into establishing the geographical distribution and epidemiology of the disease.

全球根除牛瘟計劃起初集中力量確定疾病地理分布流行病學(xué)

Regexps are also popularly used in the Perl language, but Perl regexps are different from those you'd build using grep.

regexpPerl語言常用Perlregexp使用grep構(gòu)建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默認(rèn)行為指定多個文件情況打印其中找到匹配項那個文件名稱

The existing data store search options provided by LDAP do not have the speed and flexibility grep users are accustomed to.

LDAP提供現(xiàn)有數(shù)據(jù)存儲搜索選項具有grep用戶已經(jīng)習(xí)慣速度靈活性

The second important note about this example is that you've performed the grep operation remotely.

關(guān)于這個示例第二需要說明重要內(nèi)容遠(yuǎn)程方式執(zhí)行grep操作

For practical purposes, regular expressions need to be handled on an ad hoc basis -- and we have grep for just this purpose.

實(shí)用起見規(guī)則表達(dá)需要特殊方式處理--為此我們使用grep

Note that this is not regular expression matching as used by grep.

注意不是grep使用表達(dá)式匹配

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輸出發(fā)送grep搜索單個文件內(nèi)容

The launching of GREP was founded on the scientific understanding that the eradication of rinderpest was feasible.

全球根除牛瘟計劃依據(jù)根除牛瘟可行科學(xué)認(rèn)識

The http. conf file can be located usually by performing ps -ef|grep http and identifying the conf file in use.

通常可以通過執(zhí)行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地址運(yùn)行結(jié)果那些包含使用grep命令ID過濾

Grep works exactly like map, except that the elements only "pass through" if the expression or block returns true.

grepmap工作方式十分類似只是表達(dá)式返回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項目網(wǎng)站下載用于操作系統(tǒng)免費(fèi)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.

一些較新版本grepGNUgrep使用--color選項顏色突出顯示regexp1

In fact, searching a collection of files is so common that grep has its own option to recurse a file system hierarchy.

事實(shí)上搜索文件常見工作所以grep具有相應(yīng)選項遍歷整個文件系統(tǒng)層次結(jié)構(gòu)

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發(fā)現(xiàn)一個匹配之后打印文件名稱停止文件進(jìn)一步匹配

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排除CatwomanBatman舉例來說)。

Map and grep evaluate a block or an expression for each element of a list.

Mapgrep列表每個元素計算表達(dá)式

This book shows how to design and then implement simple versions of many Unix tools: grep, sort, ed, and the like.

展示如何設(shè)計然后實(shí)現(xiàn)許多簡單Unix工具grepsorted

My first thought is that I could use simple grep commands to search for the number of quakes per day.

第一想到就是使用簡單grep命令搜索每天地震數(shù)

In its simplest use, grep prints those lines that contain text that matches a pattern.

grep簡單應(yīng)用打印那些包含某個模式匹配文本

The shell remains independent; find is a producer, grep acts as a consumer (for find) and as a producer (for wc).

shell仍然獨(dú)立find生成grep作為find消費(fèi)者wc生成