Errors in command substitution e.g. $(cat file) are ignored by 'set -e', one example of its confusing nature. It does not force you to all handle errors, just some errors and which ones depends on the code you write.
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
replies: