Just because it doesn't matter for most users doesn't mean it isn't a real limitation. I acknowledged as much in my original comment.
BatmanAoD
Did you read the linked Q&A?
What do you get if you run /bin/bash --version
?
You get admin privileges on MacOS like a big boy. You can use bash or zsh commands in Terminal all you want.
Cool. So try updating to a version of Bash from the last 15 years, because the pre-installed one is Bash 3, because Bash 4 and 5 are under the GPLv3 license, which Apple won't comply with.
...ah, no, you can't update the pre-installed Bash, because it's on a section of the file system that is read-only even with admin access. You can install Bash 5 as a separate shell, and use that as your default terminal shell, but any scripts written with the standard #!/bin/bash
instead of the more flexible #!/usr/bin/env bash
will still use Bash 3.
This "handholding" (or really, a safety net) is arguably a good thing, or at least a positive tradeoff; but you can't claim it doesn't exist.
Regular vim has that (as a compile option, like most of its features).
rm - rf
is the only version that makes sense, since the only reason to delete and re-clone is to recover from an unexpected .git/
state, and git rm
won't remove that.
The second one!
The bit in Big Hero 6 with the video records of Tadashi inventing Baymax are about as close to this as I've ever seen in a sci fi action movie.
Sorry, why would you be "boned" if you have UTC time? Are you thinking of the case where the desired behavior is to preserve the local time, rather than the absolute time?
I'm not totally clear on why signals are used here in the first place. Arguably most C code doesn't "need" to use signals in complex ways, either.
The trope will be "old" once the mainstream view is no longer that C-style memory management is "good enough".
That said, this particular vulnerability was primarily due to how signals work, which I understand to be kind of unavoidably terrible in any language.
Why do you think most early adopters use Windows exclusively?
It's not so much a problem of there being things you "can't do" in other shells or older Bash, as that it breaks existing shell scripts, which is frustrating.