Recursion with grep?

Dan Busarow dan at dpcsys.com
Thu Nov 13 15:25:28 PST 2003


On Nov 13, Francisco Reyes wrote:
> The man page for grep says to use "-r" to recurse, yet when I try
> something like
> 
> grep -r -li string *.c

find . -name "*.c" -exec grep -li string {} \;

Dan
-- 
 Dan Busarow                                                  949 443 4172
 Dana Point Communications, Inc.                            dan at dpcsys.com
 Dana Point, California  83 09 EF 59 E0 11 89 B4   8D 09 DB FD E1 DD 0C 82



More information about the freebsd-questions mailing list