A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
video training course this week in the
Linux / UNIX
Difference Between Grep,Fgrep & Egrep
Joined: Sep 26, 2003
Nov 06, 2005 23:09:00
Am totally confused with these commands.
I need the differences between the commands Grep,Fgrep & Egrep
Joined: Aug 30, 2002
Nov 07, 2005 03:34:00
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.
<a href="http://www.shillitoe.com" target="_blank" rel="nofollow">http://www.shillitoe.com</a>
It is sorta covered in the
JavaRanch Style Guide
subject: Difference Between Grep,Fgrep & Egrep
Needs help for grouping data
Regular Expression help
File find utility?
Search tool to search all class files
Log between two Time
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015