请输入您要查询的英文单词:

 

单词 grep
例句
原声例句
PKM OS

About this script, we're gonna care whether the grep ran successfully or it didn't.

关于这个脚本,我们将关心 grep 是否成功运行。

PKM OS

For that you can use the grep command that we have seen so far.

为此,您可以使用我们到目前为止看到的 grep 命令。

PKM OS

So you could do something like grep foobar in MCD, it's there.

所以你可以在 MCD 中执行类似 grep foobar 的操作,它就在那里。

PKM OS

Like " ack" , is the original grep alternative that was written.

就像“ack”一样,是最初编写的 grep 替代方案。

PKM OS

It will let you do kind of like an interactive grep.

它会让你像交互式 grep 一样进行操作。

PKM OS

So grep doesn't print anything, but let us know that things didn't work by giving us a 1 error code.

因此 grep 不会打印任何内容,但通过给我们 1 错误代码让我们知道事情不起作用。

PKM OS

We could use " find" , and the " -exec" , but actually " grep" has the " -R" flag that will go through the entire directory, here.

我们可以使用“find”和“-exec”,但实际上“grep”有“-R”标志,它将遍历整个目录,在这里。

PKM OS

Then, in the next line we're running the grep command which is just search for a substring in some file and we're searching for the string foobar in the file.

然后,在下一行中,我们运行 grep 命令,该命令只是在某个文件中搜索子字符串,并且我们在文件中搜索字符串 foobar 。

PKM OS

And it's also like fuzzy matching, whereas like by default in grep or these things you have to write a regex or some expression that will match within here.

它也像模糊匹配,而默认情况下,在 grep 或这些东西中,您必须编写一个正则表达式或一些在此处匹配的表达式。

随便看

 

英语例句辞典收录519880条英汉例句词条,基本涵盖了全部常用单词的造句方法及例句,是英语学习的有利工具。

 

Copyright © 2004-2022 Newdu.com All Rights Reserved
京ICP备09058993号 更新时间:2025/7/25 8:24:15