What is the general syntax for the grep command?

What is the general syntax for the grep command?
Answer
grep understands three different versions of regular expression syntax:
“basic” (BRE), “extended” (ERE) and “perl” (PRCE). In GNU grep, there is no difference in available functionality between basic and extended syntaxes. In other implementations, basic regular expressions are less powerful.
 

Tìm kiếm

Back
Top