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.

_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[email protected]"

Reply via email to