bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Exclamation mark does not work with set -e


From: Chris Down
Subject: Re: Exclamation mark does not work with set -e
Date: Mon, 6 Apr 2020 15:50:53 +0100

address@hidden 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 with `!`, `set -e` does not apply.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]