This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
problem with find -exec
- From: "Davies, Mike" <MDavies at uk dot waukbearing dot com>
- To: cygwin at cygwin dot com
- Date: Tue, 23 Apr 2002 04:45:07 -0500
- Subject: problem with find -exec
Hi,
I'm using Cyywin on Win 98 SE and I have a problem with the find command.
The command I am trying to run is :
find . -xdev -exec 'grep -l -F "string" {}';
This command works fine on another flavour of unix but under Cygwin it gives
me the error :
find: missing argument to `-exec'
I've tried simplifying the command in various ways to try and see what's
going wrong (including find . -exec 'ls'; and others) but they all give the
same missing argument error.
I'd be grateful if anyone can see what I'm doing wrong,
Thanks,
Mike Davies
Mike Davies
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/