This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]