You had used regexps for egrep, sed, and perl; now try building it for plain grep.
前面已经使用了适用于egrep、sed和perl的regexp,现在我们将尝试构建适用于普通grep的regexp。
Egrep is a more powerful version of grep that allows you to search for more than one object at a time.
egrep是grep的一个功能更加强大的版本,它让我们可以一次搜索多个对象。
Besides the capacity to search for multiple objects, egrep offers the ability to search for repetitions and groups.
除了搜索多个目标的功能之外,egrep还提供了重复搜索和分组搜索的功能。
Look for a few processes running with couchdb in their path by piping the ps output to egrep. You should see something along the lines of the output shown in Listing 1.
通过将ps输出传递给egrep,查看在路径中使用couchdb的进程。
Look for a few processes running with couchdb in their path by piping the ps output to egrep. You should see something along the lines of the output shown in Listing 1.
通过将ps输出传递给egrep,查看在路径中使用couchdb的进程。
应用推荐