delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/09/14/10:15:29

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Message-ID: <80575AFA5F0DD31197CE00805F650D7602D008@wilber.adroit.com>
From: "Robinow, David" <drobinow AT dayton DOT adroit DOT com>
To: "'Simon Heffer'" <Simon DOT Heffer AT royalblue DOT com>,
"'cygwin AT cygwin DOT com'"
<cygwin AT cygwin DOT com>
Subject: RE: Another find missing arg to -exec prob..
Date: Fri, 14 Sep 2001 10:10:35 -0400
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2650.21)

> From: Simon Heffer [mailto:Simon DOT Heffer AT royalblue DOT com]
> Subject: Another find missing arg to -exec prob..
> I'm trying to run this from EMACSNT and getting the missing 
> argument to -exec message...
> 
> f:\cygwin\bin\find . -name *.c -exec grep -n -e blah {} \dev\null \;

 I suggest you use bash as your emacs shell.  See
the NTemacs FAQ for instructions.
 Use
    -name "*.c"
 instead of
    -name *.c
 to make sure the wild-card is not expanded in the current directory.

 "find" is a cygwin program so use  /dev/null  instead of \dev\null

 

--
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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019