From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Date: Tue, 24 Dec 2002 19:11:04 +0300 From: Alexey Tourbin To: ALT Devel discussion list Message-ID: <20021224161104.GA661@ungrund> Mail-Followup-To: ALT Devel discussion list References: <20021223151354.GA23652@ungrund> <20021223151832.GB1143@basalt.office.altlinux.ru> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="5vNYLRcllDrimb99" Content-Disposition: inline In-Reply-To: <20021223151832.GB1143@basalt.office.altlinux.ru> Subject: [devel] Re: find retval Sender: devel-admin@altlinux.ru Errors-To: devel-admin@altlinux.ru X-BeenThere: devel@altlinux.ru X-Mailman-Version: 2.0.9 Precedence: bulk Reply-To: devel@altlinux.ru List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Archived-At: List-Archive: List-Post: --5vNYLRcllDrimb99 Content-Type: text/plain; charset=koi8-r Content-Disposition: inline Content-Transfer-Encoding: 8bit On Mon, Dec 23, 2002 at 06:18:32PM +0300, Dmitry V. Levin wrote: > > $ find contrib -name CVS -o name 'Makefile*' -print0 | xargs -r0 %__rm -rf > > find: paths must precede expression > > Usage: find [path...] [expression] > > $ RETVAL=$? > > $ echo $RETVAL > > 0 > > $ > > > > OK/Cancel? :) > > $ false |true; echo $? > 0 Ещё один вопрос по find: хорошо ли, что две следующие команды работают совершено по-разному? find contrib -name CVS -o -name 'Makefile*' find contrib '(' -name CVS -o -name 'Makefile*' ')' -- WBR, Alexey Tourbin BIOZAK Ltd., Russia --5vNYLRcllDrimb99 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (GNU/Linux) iD8DBQE+CIcYfBKgtDjnu0YRAgnXAJ4gZoc8LF+C1vmTac0TfSal3rHTwQCghUpV otOB9BF+lRuqPmJlYmkbFag= =GLnC -----END PGP SIGNATURE----- --5vNYLRcllDrimb99--