delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/09/14/11:35:53

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
From: "Soren Andersen" <soren AT wonderstorm DOT com>
To: cygwin AT cygwin DOT com
Date: Fri, 14 Sep 2001 11:35:22 -0400
MIME-Version: 1.0
Subject: `find [...] -exec [...]' confusion
Message-ID: <3BA1EB7A.11188.6EB1886@localhost>
X-mailer: Pegasus Mail for Win32 (v3.12c)

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/

- Raw text -


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