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>
index | next in thread | previous in thread | raw e-mail
[-- Attachment #1 --] On Wed, Jan 07, 2004 at 05:36:42PM -0600, Eric F Crist wrote: > Just wondering what the difference is between ; and &&? > > I use make depend; make; make install and others say they use: > > 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 -- [-- Attachment #2 --] -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQE//JiRocfcwTS3JF8RAvIgAJ4j8goZ0gBGhRV5qe1ZygmVvo3M0gCfV9lT e/4fdIMmo3B8z6ST5TXUNrU= =Tj9q -----END PGP SIGNATURE-----home | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040107233858.GM8322>
