On Jun 8, 2008, at 5:50 PM, Raphael Becker wrote:

find . -type -f -exec grep <grepoptions> <text to search> {} \+

-exec foo {} \+ behaves like xargs foo
-exec foo {} \; exec foo for every file

Way cool!  I hadn't known that about find(1).

Cheers,

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

Reply via email to