From owner-freebsd-hackers Sat Jul 31 21:32:14 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from po4.wam.umd.edu (po4.wam.umd.edu [128.8.10.166]) by hub.freebsd.org (Postfix) with ESMTP id 90BDA14D27 for ; Sat, 31 Jul 1999 21:32:11 -0700 (PDT) (envelope-from howardjp@wam.umd.edu) Received: from rac9.wam.umd.edu (root@rac9.wam.umd.edu [128.8.10.149]) by po4.wam.umd.edu (8.9.3/8.9.3) with ESMTP id AAA02248; Sun, 1 Aug 1999 00:28:34 -0400 (EDT) Received: from rac9.wam.umd.edu (sendmail@localhost [127.0.0.1]) by rac9.wam.umd.edu (8.9.3/8.9.3) with SMTP id AAA21344; Sun, 1 Aug 1999 00:28:33 -0400 (EDT) Received: from localhost by rac9.wam.umd.edu (8.9.3/8.9.3) with ESMTP id AAA21340; Sun, 1 Aug 1999 00:28:33 -0400 (EDT) X-Authentication-Warning: rac9.wam.umd.edu: howardjp owned process doing -bs Date: Sun, 1 Aug 1999 00:28:33 -0400 (EDT) From: James Howard To: Tim Vanderhoek Cc: Sheldon Hearn , Dag-Erling Smorgrav , John-Mark Gurney , "Daniel C. Sobral" , freebsd-hackers@FreeBSD.ORG Subject: Re: replacing grep(1) In-Reply-To: <19990731193930.B2466@mad> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Sat, 31 Jul 1999, Tim Vanderhoek wrote: > I rather hope that the rumoured newer version of H. Spencer's regex > lib is faster... Being as slow for that pattern as it is has got to > be a bug of some sort... It's actually faster to scan the file twice, > once for the first string and then for the second. If it is not, how about linking it with libregex? I realize it is GNU too, but it will be there whether or not grep gets replaced and the authors were at least kind enough to LGPL it instead. Hey, maybe someone who knows more about regular expressions than I do would feel compelled to rewrite GNU regex... :) I bet the existing Spencer libraries would be a good starting point and maybe the rumored new version is a great starting point... But that's enough hint dropping... Jamie To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message