Piszcz, Justin napisaĆ(a):
Sort of.find . -type '*.c' -exec grep "my_text" {} \;
No! Never use exec this way if the command you use accepts multiple arguments. Use xargs. (-type '*.c' is a mistake anyway ;->).
You should rather try find . -type f -name '*.c' -print0 | xargs -0 grep "whatever" --To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]