| delorie.com/archives/browse.cgi | search |
| 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: | <ED298BF0B6CED211956D0090273F7553FA7CE4@TNIDC1> |
| From: | Kenneth Farley <KFarley AT alidian DOT com> |
| To: | "'Earnie Boyd'" <cygwin AT cygwin DOT com> |
| Subject: | RE: find cmd and bash |
| Date: | Thu, 22 Mar 2001 07:36:59 -0800 |
| MIME-Version: | 1.0 |
| X-Mailer: | Internet Mail Service (5.5.2653.19) |
Thanks. I tried single + double quotes. Same problem. I also looked at the
files and there are no spaces. In fact if you just -print everything is
fine.
KCF
-----Original Message-----
From: Earnie Boyd [mailto:earnie_boyd AT yahoo DOT com]
Sent: Thursday, March 22, 2001 10:27 AM
To: Kenneth Farley
Cc: 'cygwin AT cygwin DOT com'
Subject: Re: find cmd and bash
Kenneth Farley wrote:
>
> Sirs:
> I am trying to get two command sets to work using
find. I have
> resolved getting the correct find in the path, but am
still having problems.
>
> $ find . -type f -name *.cpp -print | xargs grep -n
'Xpif*'
>
> xargs: grep: No such file or directory
>
> find . \( -name '*.[ch]' -o -name '*.cpp' \) -exec ctags
-u {} \;
>
> find: ctags: No such file or directory
> find: ctags: No such file or directory
> find: ctags: No such file or directory
> find: ctags: No such file or directory
> find: ctags: No such file or directory
> find: ctags: No such file or directory
> find: ctags: No such file or directory
> find: ctags: No such file or directory
> find: ctags: No such file or directory
> find: ctags: No such file or directory
>
> It seems to be the same type of problem in both cases.
Which is passing the
> stuff from find to the next command.
>
Add quotes around the {} part of the command. My guess is
you have
files with spaces in the name.
Earnie.
_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com
--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |