Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 08 Jun 2008 15:33:49 -0500
From:      Paul Procacci <pprocacci@datapipe.com>
To:        Jos Chrispijn <jos@webrz.net>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Grep Guru
Message-ID:  <484C422D.3080309@datapipe.com>
In-Reply-To: <484C3CC4.7050107@webrz.net>
References:  <484C3CC4.7050107@webrz.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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,
>
> -- Jos
> _______________________________________________
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to 
> "freebsd-questions-unsubscribe@freebsd.org"
You want it to report the files in which the string was found?

grep -rl <pattern> <path>

~Paul



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?484C422D.3080309>