What does 'grep' mean?

What does 'grep' mean?

The Wikipedia entry for grep states:

grep is a command line utility originally written for use with the Unix operating system.

The name comes from a command in the Unix text editor ed that takes the form:

g/re/p

This means "search globally for matches to the regular expression re, and print lines where they are found". 

 

一直使用,原来这个意思啊,在vim中 g/re/p,呵呵

posted on 2011-04-07 14:32 Moven 阅读(...) 评论(...) 编辑 收藏

导航

公告