• Post Reply Bookmark Topic Watch Topic
  • New Topic

Difference Between Grep,Fgrep & Egrep  RSS feed

 
Nagarajan Krishnamurthy
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Am totally confused with these commands.
I need the differences between the commands Grep,Fgrep & Egrep
 
Francis Shillitoe
Greenhorn
Posts: 22
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
egrep (grep -E in linux) is extended grep where additional regular expression metacharacters have been added like +, ?, | and ()

fgrep (grep -F in linux) is fixed or fast grep and behaves as grep but does not recognise any regular expression metacharacters as being special.

Francis
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!