This is the mail archive of the cygwin@cygwin.com 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]

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/


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