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,呵呵

你可能感兴趣的:(grep)