permaculture playing cards*
The moose likes Linux / UNIX and the fly likes Difference Between Grep,Fgrep & Egrep Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Engineering » Linux / UNIX
Bookmark "Difference Between Grep,Fgrep & Egrep" Watch "Difference Between Grep,Fgrep & Egrep" New topic
Author

Difference Between Grep,Fgrep & Egrep

Nagarajan Krishnamurthy
Greenhorn

Joined: Sep 26, 2003
Posts: 20
Am totally confused with these commands.
I need the differences between the commands Grep,Fgrep & Egrep
Francis Shillitoe
Greenhorn

Joined: Aug 30, 2002
Posts: 22
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


<a href="http://www.shillitoe.com" target="_blank" rel="nofollow">http://www.shillitoe.com</a>
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Difference Between Grep,Fgrep & Egrep
 
Similar Threads
Search tool to search all class files
Log between two Time
Regular Expression help
File find utility?
Needs help for grouping data