Re:Why doesn't Bash's `set -e` do what I expected?
by dataflow on Friday October 07, 2022 @09:47AM
(#33121242)
Whoops, that's what I get for writing these when I'm sleepy. Yes of course ! doesn't always set the result to success, that wouldn't make any sense. I misspoke in that part. I meant to say Bash treats it like any other command that modifies $?, instead of treating it specially and preventing it from modifying that variable. Thanks.
[ Parent
| on HN ]
There are no comments on this comment yet.