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]

RE: Another find missing arg to -exec prob..


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


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