Date: Wed, 7 Jan 2004 23:38:58 +0000 From: Ceri Davies <ceri@submonkey.net> To: Eric F Crist <ecrist@adtechintegrated.com> Cc: freebsd-questions@freebsd.org Subject: Re: What is the difference between ; and && Message-ID: <20040107233858.GM8322@submonkey.net> In-Reply-To: <200401071736.42467.ecrist@adtechintegrated.com> References: <200401071736.42467.ecrist@adtechintegrated.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--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--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040107233858.GM8322>