problem with find -exec
Davies, Mike
MDavies@uk.waukbearing.com
Tue Apr 23 03:37:00 GMT 2002
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/
More information about the Cygwin
mailing list