find and searching for specific expression in files

Wojciech Puchar wojtek at wojtek.tensor.gdynia.pl
Sat May 30 15:57:23 UTC 2009


>> because it tells you the file in which the text pattern was found :).
>
> Discouraged because:
> - it's possible to hit maxarglen if the root directory has many
> subdirectories.

xargs is usefull too. i would it as forking for each 
file will make processing really slow. xargs can cut input data into given 
chunks with -n option, so grep will be called for say 100 files at once.



More information about the freebsd-questions mailing list