http://www.cygwin.com/ml/cygwin/2001-03/msg01023.html reply

Voss, Douglas C @ CSW-SLC Douglas.C.Voss@L-3Com.com
Fri Dec 8 17:35:00 GMT 2006


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/



More information about the Cygwin mailing list