This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
Re: Broken since 1.3.10, or earlier
Dan Higgins wrote:
Greetings,
If I want to recursively find all files that contain some text, I use,
for example:
find . -name '*.java' | while read l; do grep 'Copyright' "$l" && echo
"$l";
done
Just as an alternative, why not:
$ find . -name '*.java' -exec grep 'Copyright' {}\;
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/