delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-Spam-Check-By: | sourceware.org |
Message-ID: | <470B1D9C.7040504@sh.cvut.cz> |
Date: | Tue, 09 Oct 2007 08:20:12 +0200 |
From: | =?UTF-8?B?VsOhY2xhdiBIYWlzbWFu?= <V DOT Haisman AT sh DOT cvut DOT cz> |
User-Agent: | Thunderbird 2.0.0.6 (Windows/20070728) |
MIME-Version: | 1.0 |
To: | cygwin AT cygwin DOT com |
Subject: | Re: -exec on find(1) broken |
References: | <31b7d2790710082032m10d42329q6270f374052afec5 AT mail DOT gmail DOT com> <470B1B1B DOT 2060404 AT columbus DOT rr DOT com> |
In-Reply-To: | <470B1B1B.2060404@columbus.rr.com> |
OpenPGP: | id=1204AF05; url=http://logout.sh.cvut.cz/~wilx/Vaclav_Haisman_(0x63B6B297)_pub.asc |
X-IsSubscribed: | yes |
Reply-To: | cygwin AT cygwin DOT com |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.com> |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
--------------enig7E1B58195B33400DBAA585AD Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Paul McFerrin wrote, On 9.10.2007 8:09: > I think I'm going nuts. What am I doing wrong? Can't seem to get -exec > to work. >=20 > /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=20=20= =20 > 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' Try and compare the output of command echo ';' and command echo '\;' and compare the output. You want to use ';' to terminate the -exec argument lis= t. >=20 > There is NO missing argument to -exec. What gives? Is it really broken > or do I not understand the manual page correctly? >=20 > - paul mcferrin >=20 -- VH --------------enig7E1B58195B33400DBAA585AD Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFHCx2loUFWwtEPkHIRCFIrAJ45dTHbzRrnS7wGqatRYfMd4ZB3sACfQiKm VYjw+VawW1i93eje0tkEKbc= =3rK+ -----END PGP SIGNATURE----- --------------enig7E1B58195B33400DBAA585AD--
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |