This is the mail archive of the
cygwin
mailing list for the Cygwin project.
RE: http://www.cygwin.com/ml/cygwin/2001-03/msg01023.html reply
- From: "Voss, Douglas C @ CSW-SLC" <Douglas dot C dot Voss at L-3Com dot com>
- To: <cygwin at cygwin dot com>
- Date: Fri, 8 Dec 2006 10:35:32 -0700
- Subject: RE: http://www.cygwin.com/ml/cygwin/2001-03/msg01023.html reply
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/