From owner-freebsd-questions@FreeBSD.ORG Wed Jan 7 15:39:02 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 667C116A4CE for ; Wed, 7 Jan 2004 15:39:02 -0800 (PST) Received: from shaft.techsupport.co.uk (shaft.techsupport.co.uk [212.250.77.214]) by mx1.FreeBSD.org (Postfix) with ESMTP id 255AC43D39 for ; Wed, 7 Jan 2004 15:39:01 -0800 (PST) (envelope-from setantae@submonkey.net) Received: from cpc2-cdif3-6-0-cust204.cdif.cable.ntl.com ([81.103.67.204] helo=shrike.submonkey.net ident=mailnull) by shaft.techsupport.co.uk with esmtp (TLSv1:DHE-RSA-AES256-SHA:256) (Exim 4.24; FreeBSD) id 1AeNGO-000DZy-2e; Wed, 07 Jan 2004 23:39:00 +0000 Received: from setantae by shrike.submonkey.net with local (Exim 4.24; FreeBSD) id 1AeNGM-000BhY-4X; Wed, 07 Jan 2004 23:38:58 +0000 Date: Wed, 7 Jan 2004 23:38:58 +0000 From: Ceri Davies To: Eric F Crist Message-ID: <20040107233858.GM8322@submonkey.net> Mail-Followup-To: Ceri Davies , Eric F Crist , freebsd-questions@freebsd.org References: <200401071736.42467.ecrist@adtechintegrated.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="4e5ZDkbgLEOfWmLx" Content-Disposition: inline In-Reply-To: <200401071736.42467.ecrist@adtechintegrated.com> X-PGP: finger ceri@FreeBSD.org User-Agent: Mutt/1.5.4i Sender: Ceri Davies cc: freebsd-questions@freebsd.org Subject: Re: What is the difference between ; and && X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Jan 2004 23:39:02 -0000 --4e5ZDkbgLEOfWmLx Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Jan 07, 2004 at 05:36:42PM -0600, Eric F Crist wrote: > Just wondering what the difference is between ; and &&? >=20 > I use make depend; make; make install and others say they use: >=20 > make depend && make && make install In the second form, each command will only run if the previous one succeeded, which is usually what you meant. [Of course, if the Makefile has it's dependencies correct, then a simple "make install" will achieve the same thing.] Ceri --=20 --4e5ZDkbgLEOfWmLx Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQE//JiRocfcwTS3JF8RAvIgAJ4j8goZ0gBGhRV5qe1ZygmVvo3M0gCfV9lT e/4fdIMmo3B8z6ST5TXUNrU= =Tj9q -----END PGP SIGNATURE----- --4e5ZDkbgLEOfWmLx--