Re: [TOY PATCH] test-lib: &&-chaining tester
- From
Johannes Sixt <j.sixt@viscovery.net>
- Date
- Oct 6, 2010, 08:25 UTC
- Message-ID
- <4CAC325D.1010403@viscovery.net>
- In-Reply-To
- <vpqeic3agk8.fsf@bauges.imag.fr>
Am 10/6/2010 10:09, schrieb Matthieu Moy:
> Probably a silly question, but is there any reason why we use these && > instead of a "set -e" once and for all?
Because different shells implement different behavior when "set -e" is in effect and functions, && and || chains, and traps are in the game.
-- Hannes