Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sdd.hp.com!uakari.primate.wisc.edu!uflorida!mailer!stat!sun13!prism!gt0178a From: gt0178a@prism.gatech.EDU (Jim Burns) Newsgroups: comp.unix.misc Subject: Re: Fast file scan Message-ID: <14437@hydra.gatech.EDU> Date: 3 Oct 90 02:16:38 GMT References: Distribution: comp Organization: Georgia Institute of Technology Lines: 20 in article , mikep@dirty.csc.ti.com (Michael A. Petonic) says: > In article <143198@sun.Eng.Sun.COM> lm@slovax.Sun.COM (Larry McVoy) writes: >>Lines: 14 >>I would probably use ftw(3). I've found it a useful tool. > I can't see how > find . -type f -print | xargs fgrep foobar > is too slow... If there were any speed advantage in hand crafting > a program to do the same, I'm not sure it would be worth doing so. Be warned that (usually) find (and du) don't follow symbolic links - ftw(3) does. -- BURNS,JIM Georgia Institute of Technology, Box 30178, Atlanta Georgia, 30332 uucp: ...!{decvax,hplabs,ncar,purdue,rutgers}!gatech!prism!gt0178a Internet: gt0178a@prism.gatech.edu