Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 13 Nov 2003 17:37:39 -0500 (EST)
From:      Francisco Reyes <lists@natserv.com>
To:        FreeBSD Questions List <questions@freebsd.org>
Subject:   Recursion with grep?
Message-ID:  <20031113173505.F84157@zoraida.natserv.net>

next in thread | raw e-mail | index | archive | help
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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20031113173505.F84157>