Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!wuarchive!zaphod.mps.ohio-state.edu!sol.ctr.columbia.edu!emory!hubcap!ncrcae!shawn From: shawn@ncrcae.Columbia.NCR.COM (Shawn Shealy) Newsgroups: comp.unix.misc Subject: Re: Fast file scan Keywords: some examples Message-ID: <6640@ncrcae.Columbia.NCR.COM> Date: 10 Oct 90 21:08:00 GMT References: <299@lysator.liu.se> <1990Oct2.192028.29731@sco.COM> Reply-To: shawn@ncrcae.Columbia.NCR.COM (Shawn Shealy) Organization: NCR Corp., Engineering & Manufacturing - Columbia, SC Lines: 10 >In article <299@lysator.liu.se> pen@lysator.liu.se (Peter Eriksson) writes: >>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. My favorite is: find -type f -print | xargs fgrep "" but I would not dare say that it is "as fast as possible".