Recursion with grep?

Francisco Reyes lists at natserv.com
Thu Nov 13 14:36:04 PST 2003


The man page for grep says to use "-r" to recurse, yet when I try
something like

grep -r -li string *.c

I get no files. However, if I go into one of the subdirectories and do a
plain grep <string> *.c then <string> is found on several files.



More information about the freebsd-questions mailing list