Broken since 1.3.10, or earlier

Andrew DeFaria Andrew@DeFaria.com
Tue Jul 16 23:17:00 GMT 2002


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/



More information about the Cygwin mailing list