Another find missing arg to -exec prob..

Robinow, David drobinow@dayton.adroit.com
Fri Sep 14 07:14:00 GMT 2001


> From: Simon Heffer [ mailto:Simon.Heffer@royalblue.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/



More information about the Cygwin mailing list