Grep Guru

Wojciech Puchar wojtek at wojtek.tensor.gdynia.pl
Sun Jun 8 20:15:56 UTC 2008


> 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,

find . -type f -print0|xargs -0 grep <grepoptions> <text to search>

anyway it's nothing about being Grep Guru, or Find Guru

but it's really worth to be Man Guru :)

man find
man xargs



More information about the freebsd-questions mailing list