D. Hugh Redelmeier via Talk wrote on 2025-08-19 23:49:
You seem to be reallly upset about what (( )) does for a result code.
I guess that's one way of putting it.
But it is clearly spelled out on the tin. Yes. But also, "0+0 returns an error. RTFM." isn't great except to verify that it's intentional (which might be worse).
In fact, "RTFM", "it's easy to remember", "it's an historical precedent", without acknowledging it's dumb is what might be most frustrating. After all, I'll probably not encounter this "bug"; who checks exit codes of math ops vs the results? I get it's an historical anomaly and quirky features are everywhere and trying to understand the "why?" helps one's understanding. Not working in this case. I'm used to hearing about what a joke {PHP | JavaScript | ...} is, but bash is left out of that. It deserves mention. bash status: ((Love--)) ((Hate++)) Can I just point out that fish feels *fast* and *multi-line auto-complete* options are amazing. With *descriptions* of the choices offered too! fish status: ((++Love++)) ((--Hate--)) I'm on board with rewriting crufty relics with streamlined options and discarding anachronistic "features".