| 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: | <8F23E55D511AD5119A6800D0B76FDDE101A26A74@cpex3.channelpoint.com> |
| From: | Troy Noble <troy DOT noble AT channelpoint DOT com> |
| To: | "'Soren Andersen'" <soren AT wonderstorm DOT com>, cygwin AT cygwin DOT com |
| Subject: | RE: `find [...] -exec [...]' confusion |
| Date: | Fri, 14 Sep 2001 09:37:28 -0600 |
| MIME-Version: | 1.0 |
| X-Mailer: | Internet Mail Service (5.5.2653.19) |
| X-Scanned-By: | MIMEDefang 1.0 (http://www.roaringpenguin.com/mimedefang/) |
You need a trailing "\;" on the end of your command
bash$ find /perl -name "*.pl" -exec cat {} \;
-----Original Message-----
From: Soren Andersen [mailto:soren AT wonderstorm DOT com]
Sent: Friday, September 14, 2001 9:35 AM
To: cygwin AT cygwin DOT com
Subject: `find [...] -exec [...]' confusion
Hello,
I have been wondering about this for a long time. In msg #36282 by: Simon
Heffer, he mentions what i have found: that when `find' is run with an -exec
option, there is invariably a message saying "missing argument to exec."
Trying something like this:
find /perl -name "*.pl" -exec cat {}
gives me that error message. can someone confirm to me that this is a bug?
or
not?
Thank you for an answer that goes easy on the "its-an-FAQ-you-idiot"s.
Soren Andersen
--
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/
--
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 |