Grep Guru

Paul Procacci pprocacci at datapipe.com
Sun Jun 8 20:33:52 UTC 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,
>
> -- Jos
> _______________________________________________
> freebsd-questions at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to 
> "freebsd-questions-unsubscribe at freebsd.org"
You want it to report the files in which the string was found?

grep -rl <pattern> <path>

~Paul


More information about the freebsd-questions mailing list