4 ms·
In my opinion, it is one of the biggest flaws in the shell language design, because it means, that a function can lead to different results independent of the a
by arendtio 3y ago
In my opinion, it is one of the biggest flaws in the shell language design, because it means, that a function can lead to different results independent of the arguments, but depending of the context from which you call it. And it even overrides explicitly setting `set -e` within a function.
Some time ago I gave an example: https://news.ycombinator.com/item?id=22213830 https://news.ycombinator.com/item?id=22213830