On Wed, 2004-01-07 at 18:36, Eric F Crist wrote:
> Just wondering what the difference is between ; and &&?
> 
> I use make depend; make; make install and others say they use:

This notation will run each command, one after the other, regardless of
the exit status of the previous command.

> 
> make depend && make && make install

This notation will only run the subsequent command if the previous
command exited cleanly without error.  This is a much safer syntax.

Joe

-- 
PGP Key : http://www.marcuscom.com/pgp.asc


Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to