From owner-freebsd-hackers Sat Jan 18 14:35:14 2003 Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E5D6B37B401 for ; Sat, 18 Jan 2003 14:35:12 -0800 (PST) Received: from pop015.verizon.net (pop015pub.verizon.net [206.46.170.172]) by mx1.FreeBSD.org (Postfix) with ESMTP id 19F2943ED8 for ; Sat, 18 Jan 2003 14:35:12 -0800 (PST) (envelope-from babkin@bellatlantic.net) Received: from bellatlantic.net ([138.89.161.184]) by pop015.verizon.net (InterMail vM.5.01.05.20 201-253-122-126-120-20021101) with ESMTP id <20030118223510.TVVX21001.pop015.verizon.net@bellatlantic.net>; Sat, 18 Jan 2003 16:35:10 -0600 Message-ID: <3E29D69A.C010C47E@bellatlantic.net> Date: Sat, 18 Jan 2003 17:35:06 -0500 From: Sergey Babkin X-Mailer: Mozilla 4.7 [en] (X11; U; FreeBSD 4.7-RELEASE i386) X-Accept-Language: en, ru MIME-Version: 1.0 To: "Pedro F. Giffuni" Cc: freebsd-hackers@FreeBSD.org Subject: Re: replacing GNU grep with UNIX grep. References: <20030118050802.23784.qmail@web13407.mail.yahoo.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Authentication-Info: Submitted using SMTP AUTH PLAIN at pop015.verizon.net from [138.89.161.184] at Sat, 18 Jan 2003 16:35:09 -0600 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG "Pedro F. Giffuni" wrote: > > FWIW; > > The UNIX grep executable is like >3 times smaller than > GNU grep but also like 3 times slower. I think that it's said in GNU grep readme: they have knowingly chosen a faster but more memory-consuming algorithm. And I think that they've done similar choices in the other tools as well. After all, we are not limited by a 64KB limit any more, are we ? :-) > Also .. JIC you wonder, I only built this for > curiosity, I recommend keeping GNU grep unless Caldera > changes the license :). Also the GNU grep has a lot more options, the most interesting of them being -r. -SB To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message