On Sun, Jun 08, 2008, Jos Chrispijn wrote:
>I tried to make a grep script on find a string in all files on path ./ 
>and down. It does anything exept searching in files and reporting them.
>Is there a Grep Guru who can hint me out? Thanks,

I expect you need something like:

find . -type f -print0 | xargs -0 grep pattern

INTERNET:   [EMAIL PROTECTED]  Bill Campbell; Celestial Software LLC
URL: http://www.celestial.com/  PO Box 820; 6641 E. Mercer Way
Voice:          (206) 236-1676  Mercer Island, WA 98040-0820
Fax:            (206) 232-9186

We maintain that the very foundation of our way of life is what we call
free enterprise, said Cash McCall, "but when one of our citizens
show enough free enterprise to pile up a little of that profit, we do
our best to make him feel that he ought to be ashamed of himself."
    -- Cameron Hawley
freebsd-questions@freebsd.org mailing list
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to