X-Recipient: archive-cygwin AT delorie DOT com X-Spam-Check-By: sourceware.org Message-ID: <470B1B1B.2060404@columbus.rr.com> Date: Tue, 09 Oct 2007 02:09:31 -0400 From: Paul McFerrin Reply-To: pmcferrin AT columbus DOT rr DOT com User-Agent: Thunderbird 2.0.0.6 (Windows/20070728) MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: -exec on find(1) broken References: <31b7d2790710082032m10d42329q6270f374052afec5 AT mail DOT gmail DOT com> In-Reply-To: <31b7d2790710082032m10d42329q6270f374052afec5@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com I think I'm going nuts. What am I doing wrong? Can't seem to get -exec to work. /i/mp3.$ find . -type f -mtime +18 -exec /bin/echo \{\;\} | more find: missing argument to `-exec' /i/mp3.$ find . -type f -mtime +18 -exec /bin/echo \{\} | more find: missing argument to `-exec' /i/mp3.$ find . -type f -mtime +18 -exec /bin/echo '\;' | more find: missing argument to `-exec' /i/mp3.$ find . -type f -mtime +18 -exec /bin/echo \{;\} | more find: missing argument to `-exec' /i/mp3.$ find . -type f -mtime +18 -exec echo '\;' | more find: missing argument to `-exec' There is NO missing argument to -exec. What gives? Is it really broken or do I not understand the manual page correctly? - paul mcferrin Partial output of cygcheck..... Cygwin DLL version info: DLL version: 1.5.24 Build date: Wed Jan 31 10:57:51 CET 2007 Cygwin Package Information findutils 4.3.8-1 -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/