Monday, February 23, 2009

grep,egrep and fgrep

Grep provides two kinds of variant ( egrep(grep -E) and fgrep(grep -F)).

Egrep or grep –E is called extended regular expression based pattern matching.

You can use the following regular expression format.
^, $, \, [], [^], ., *


More information is available in man page for grep.

No comments: