Path: utzoo!utgpu!attcan!uunet!husc6!ukma!xanth!mcnc!duke!romeo!gm From: gm@romeo.cs.duke.edu (Greg McGary) Newsgroups: comp.sys.ibm.pc Subject: Has anyone ported GNU e?grep to the PC? Summary: It's 3-4 times faster than the MKS egrep. Keywords: Turbo-C, GNU, e?grep Message-ID: <13283@duke.cs.duke.edu> Date: 27 Jan 89 13:54:57 GMT Sender: news@duke.cs.duke.edu Reply-To: gm@duke.UUCP () Distribution: na Organization: Duke University CS Dept.; Durham, NC Lines: 17 I recently grabbed the GNU e?grep and compiled it with Turbo-C. After clearing up some initial include-file problems, changing a couple of int's to size_t's, and putting in tests which prevent calling malloc(0), it ran O.K. It still fails to match any of the lines in the khadafi test, and it crashes the machine on some of the Spencer-tests (at least 72--75) It does succeed on Tests 1--72, tho I haven't gotten around to testing beyond that... Anyway, It does work pretty well for most of the kinds of things I want to search for and it runs 3 to 4 *times* faster than the MKS egrep! I would like to have a fully functional version, however. If no one has done this, I may find some time over the next month or two to fix the remaining porting-bugs... -- Greg McGary -- 4201 University Drive #102, Durham, NC 27707 voice: (919) 490-6037 -- {decvax,hplabs,seismo,mcnc}!duke!gm data: (919) 493-5953 -- gm@cs.duke.edu