Path: utzoo!attcan!uunet!timbuk!cs.umn.edu!msi-s0.msi.umn.edu!srcsip!sol.ctr.columbia.edu!zaphod.mps.ohio-state.edu!usc!snorkelwacker!bloom-beacon!eru!hagbard!sunic!liuida!isy!lysator.liu.se!pen From: pen@lysator.liu.se (Peter Eriksson) Newsgroups: comp.unix.misc Subject: Fast file scan Message-ID: <299@lysator.liu.se> Date: 26 Sep 90 16:58:51 GMT Sender: news@isy.liu.se (Lord of the News) Distribution: comp Organization: Lysator Computer Club, Linkoping University, Sweden Lines: 16 I`d like to know how to scan all files in a directory (and it's sub- directories) for a specific string (without regular expressions) as fast as possible with standard Unix tools and/or some special programs. (I've written such a program, and would like to compare my implementation of it with others.) (Using the find+fgrep combination is slooooow....) Any ideas? -- Peter Eriksson pen@lysator.liu.se Lysator Computer Club ...!uunet!lysator.liu.se!pen University of Linkoping, Sweden "Seize the day!"