Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > gnu.bash.bug > #16103
| From | Chris Down <chris@chrisdown.name> |
|---|---|
| Newsgroups | gnu.bash.bug |
| Subject | Re: Exclamation mark does not work with set -e |
| Date | 2020-04-06 15:50 +0100 |
| Message-ID | <mailman.255.1586184659.2644.bug-bash@gnu.org> (permalink) |
| References | <2f74-5e8b3d80-85-5823c700@26668721> <20200406145053.GA489646@chrisdown.name> |
fb@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 with `!`, `set -e` does not apply.
Back to gnu.bash.bug | Previous | Next | Find similar
Re: Exclamation mark does not work with set -e Chris Down <chris@chrisdown.name> - 2020-04-06 15:50 +0100
csiph-web