This is the mail archive of the
cygwin
mailing list for the Cygwin project.
problem with find/grep
- From: Daniel Miller <dan at imi-test dot com>
- To: cygwin at cygwin dot com
- Date: Tue, 12 Oct 2004 16:20:24 +0000 (UTC)
- Subject: problem with find/grep
- Organization: Cathartes Aura
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/