LINUX.IE, website of the Irish Linux Users' Group
Tux rules!

   
Home
New Users
Articles
Download
Projects
Community
Vendors

  Print Version
Email to...
 
Archives:


planetILUG

Recent News

News Archive


Join the
ILUG
on FaceBook


Join the
ILUG
on LinkedIn


Join the
ILUG SETI
Group



















 
 :: Mailing Lists

[ILUG] grep, egrep, fgrep

[ILUG] grep, egrep, fgrep

Scanlan, Brian (5188) Brian.Scanlan at digifone.com
Fri Feb 2 15:49:42 GMT 2001


Hey,

...but given that it looks like it's the same bloody binary though -
There's no reason why the grep binary can't implement the egrep
changes on testing whether it's argv[0] is grep or egrep etc...

Brian.
-----Original Message-----
From: John McCormac [mailto:jmcc at hackwatch.com]
Sent: 02 February 2001 15:35
To: ilug at linux.ie
Subject: Re: [ILUG] grep, egrep, fgrep

It seems that while they may be functionally equivalent, they implement
the functions in a different manner. The grouping in grep seems to be \(\)
but in egrep it is (). Having to escape some characters in grep but not in
egrep could lead to very different results if the same string was tried on
both. 




More information about the ILUG mailing list
Read this without the formatting.
                                                                                                    

 

Hosted by HEAnet


Maintained by the ILUG website team. The aim of Linux.ie is to support and help commercial and private users of Linux in Ireland. You can display ILUG news in your own webpages, read backend information to find out how. Networking services kindly provided by HEAnet, server kindly donated by Dell. Linux is a trademark of Linus Torvalds, used with permission. No penguins were harmed in the production or maintenance of this highly praised website. Looking for the Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!
RSS Version
Powered by Dell