On Tue, Sep 26, 2000 at 09:30:36AM -0500, dopp at acm.cs.umn.edu wrote:
> I think it would just be 
> 
> find . -type f | xargs grep pattern

If you're using find, is there ant advantage to using xargs instead of find
handling the filenames itself?

find . -type f -exec grep pattern {} \;

(Well, OK...  I guess my version is a few more keystrokes...)

-- 
"Two words: Windows survives." - Craig Mundie, Microsoft senior strategist
"So does syphillis. Good thing we have penicillin." - Matthew Alton
Geek Code 3.1:  GCS d- s+: a- C++ UL++$ P+>+++ L+++>++++ E- W--(++) N+ o+
!K w---$ O M- V? PS+ PE Y+ PGP t 5++ X+ R++ tv b+ DI++++ D G e* h+ r++ y+

---------------------------------------------------------------------
To unsubscribe, e-mail: tclug-list-unsubscribe at mn-linux.org
For additional commands, e-mail: tclug-list-help at mn-linux.org