Can you mass edit all files returned in a grep?

Viewed 19483

I want to mass-edit a ton of files that are returned in a grep. (I know, I should get better at sed).

So if I do:

grep -rnI 'xg_icon-*'

How do I pipe all of those files into vi?

6 Answers
Related