I'm not sure how this works to put up a reply, but having the same problem, I 
found a solution not included in the followups:
 
Try it without the \ before the ;
 
c:\cygwin\bin\find.exe . -name "files to search pattern" -exec 
c:\cygwin\bin\grep.exe "search string" '{}' \; -print
/usr/bin/find: missing argument to `-exec'
 
c:\cygwin\bin\find.exe . -name "files to search pattern" -exec 
c:\cygwin\bin\grep.exe "search string" '{}' ; -print
<working search results>
 

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

Reply via email to