| delorie.com/archives/browse.cgi | search |
| Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
| List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
| List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
| List-Post: | <mailto:cygwin AT cygwin DOT com> |
| List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs> |
| Sender: | cygwin-owner AT cygwin DOT com |
| Mail-Followup-To: | cygwin AT cygwin DOT com |
| Delivered-To: | mailing list cygwin AT cygwin DOT com |
| Message-ID: | <7B89B2A880E9D511B60D0002A5CD381D581F@POMPEII> |
| From: | "Davies, Mike" <MDavies AT uk DOT waukbearing DOT com> |
| To: | cygwin AT cygwin DOT com |
| Subject: | problem with find -exec |
| Date: | Tue, 23 Apr 2002 04:45:07 -0500 |
| MIME-Version: | 1.0 |
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/
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |