[newbie] Editing grepped files

2002-10-16 Thread Miark

I want to edit all file that match a grep. I figured out
how to get just the file names:

  grep -l Price/font/th *

but how do I load all the matching files into, say emacs?

Miark



Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



Re: [newbie] Editing grepped files

2002-10-16 Thread Barry Rountree

On Wednesday 16 October 2002 05:10 pm, Miark wrote:

   grep -l Price/font/th *

 but how do I load all the matching files into, say emacs?

grep-l foo | xargs emacs

Doesn't play well with vi, though.


 Miark

Barry



Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com