[Scottish] Best way to find text within files recursively?

David Marsh's list-reading hat scottish at mailman.lug.org.uk
Tue Jan 21 19:35:01 2003


On Sat, 18 Jan 2003 15:09:09 +0000
scottish+Steven.Murdoch@cl.cam.ac.uk wrote:

> > for (every folder in this directory)
> > 	grep -l myfriend@somewhere.org *
> 
> Would "grep -rl myfriend@somewhere.org *" do what you want?

oops, yes it would.. <sheepish>

OK, how did I manage not to spot the -r option in the grep manpage..?
(mutters something about it being close to the page edge in my terminal
and I somehow must have skimmed over it..)

<embarrassed>


Thanks!


David.

-- 
David Marsh, <email valid @time of writing> | http://web.viewport.co.uk/