problem with find/grep

Daniel Miller dan@imi-test.com
Tue Oct 12 16:25:00 GMT 2004


On linux systems, I typically to global searches with a command such as:

    	find . -name "*.[ch]*" -exec grep -H -n stuff {} \;

and this works nicely.  However, when I try the same command under Cygwin 
(from a 4NT prompt, not Bash), I get "find: missing argument to '-exec' ".
I tried a variety of modifications to the command but nothing makes this 
work.  What am I missing??



--
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