Fast file scan (long)

Rob McMahon cudcv at warwick.ac.uk
Tue Oct 23 21:24:45 AEST 1990


In article <1990Oct17.183310.29684 at celebr.uucp> jbm at 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 at uk.ac.warwick             INET:   cudcv at warwick.ac.uk
Rob McMahon, Computing Services, Warwick University, Coventry CV4 7AL, England



More information about the Comp.unix.misc mailing list