Path: utzoo!attcan!uunet!wuarchive!cs.utexas.edu!yale!mintaka!bloom-beacon!eru!hagbard!sunic!mcsun!ukc!warwick!cudcv From: cudcv@warwick.ac.uk (Rob McMahon) Newsgroups: comp.unix.misc Subject: Re: Fast file scan (long) Keywords: some examples Message-ID: <1990Oct23.112445.16500@warwick.ac.uk> Date: 23 Oct 90 11:24:45 GMT References: <299@lysator.liu.se> <1990Oct2.192028.29731@sco.COM> <1990Oct17.183310.29684@celebr.uucp> Sender: news@warwick.ac.uk (Network news) Organization: Computing Services, Warwick University, UK Lines: 15 In article <1990Oct17.183310.29684@celebr.uucp> jbm@celebr.uucp (John B. Milton) writes: >find . -type -f -print | xargs grep SEARCH I always use find ... -print | xargs grep SEARCH /dev/null in case the last file is all on its own, so that grep doesn't bother to report the filename. Rob -- UUCP: ...!mcsun!ukc!warwick!cudcv PHONE: +44 203 523037 JANET: cudcv@uk.ac.warwick INET: cudcv@warwick.ac.uk Rob McMahon, Computing Services, Warwick University, Coventry CV4 7AL, England