You can replace that grep with find . -name "*.rb"
so you can have find . -name "*.rb" | xargs cat | grep OMG http://github.com/rails/rails/commit/2ebea1c02d10e0fea26bd98d297a8f4d41dc1aff Andrew On Fri, Feb 12, 2010 at 3:14 PM, Jonathan Clarke <[email protected]> wrote: > Insert your swearword of choice below: > > find . | grep .rb | xargs cat | grep shit > vendor/gems/cucumber-rails-0.2.4/spec/cucumber/web/tableish_spec.rb > it "should do complex shit" do > > My lulz for the day.... > > > On 12 February 2010 15:03, Grant Bissett <[email protected]> wrote: >> point the command at a rails project and for it to automatically >> *concatenate* all source code >> >> use concatenate! >> >> find . | grep .rb | xargs cat >> yes? >> >> -- >> 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. > > -- 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.
