Re: Exclamation mark does not work with set -e

2020-04-06 Thread Florent Bordignon
On 4/6/20 4:50 PM, Chris Down wrote: > Please do read the documentation before reporting bugs :-) Thanks Chris. Sorry for having wrongly reported a bug. Regards, -- Florent Bordignon

Re: Exclamation mark does not work with set -e

2020-04-06 Thread Chris Down
f...@florentbordignon.fr writes: The following assertion succeeds when it should not : set -e ! true echo Hello # prints Hello but should not Please do read the documentation before reporting bugs :-) If you read the documentation for `-e`, you'll see that if the command is being inverted wit

Re: Exclamation mark does not work with set -e

2020-04-06 Thread Greg Wooledge
On Mon, Apr 06, 2020 at 04:33:15PM +0200, f...@florentbordignon.fr wrote: > Hello, > > The following assertion succeeds when it should not : > set -e > ! true > echo Hello # prints Hello but should not -e Exit immediately if a pipeline (which may consist of a

Exclamation mark does not work with set -e

2020-04-06 Thread fb
Hello, The following assertion succeeds when it should not : set -e ! true echo Hello # prints Hello but should not Regards, -- Florent Bordignon