why involve xargs at all?
find -type f -name '*.rb' -exec cat {} \;
On Fri, Feb 12, 2010 at 3:19 PM, Nicholas Jefferson
<[email protected]> wrote:
>> find . | grep .rb | xargs cat
>>
>> yes?
>
> ugh..
>
> find -type f -name '*.rb' -print0 | xargs -0 cat
>
> Thanks,
>
> Nicholas
>
> --
> You received this message because you are subscribed to the Google Groups
> "Ruby or Rails Oceania" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected].
> For more options, visit this group at
> http://groups.google.com/group/rails-oceania?hl=en.
>
>
--
You received this message because you are subscribed to the Google Groups "Ruby
or Rails Oceania" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/rails-oceania?hl=en.