On Fri, 14 Nov 2003 02:37 pm, Francisco Reyes wrote: > On Thu, 13 Nov 2003, Matthew Hunt wrote: > > > 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. > >
No need to hack grep plese! just use -R (it appears the man page does not document the -R function, but you need to use -R in grep for it to recurse. Jacob Rhoden Phone: +61 3 8344 4478 ITS Division Email: [EMAIL PROTECTED] Melbourne University Mobile: +61 403 788 386 _______________________________________________ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"