4 ms·
The ultimately sad part was the professor in a Sun OS machine. In a corner with no where to go, giving demerits because his bash was older than he realized. R
by reactordev 9mo ago
The ultimately sad part was the professor in a Sun OS machine.
In a corner with no where to go, giving demerits because his bash was older than he realized.
Reminds me of my college professor that claimed you don’t have to close HTML tags (some you absolutely do) and I proved that you do. Not all of them, but most of them. (Netscape Navigator Days)
- jonhohle 9mo agoIt doesn’t have anything to do with bash (though modern bash may use a built in for `[`). He don’t have the `[` program (usually linked to `test`).
- reactordev 9mo agoWhich is why later versions of bash have a builtin… Precisely because those older systems didn’t link to it! So my comment still stands.
- deleted 9mo ago[deleted]
- Someone 9mo ago> Precisely because those older systems didn’t link to it! Not to speed up bash scripts? Launching a process for simple if statements such as those checking whether a file exists is fairly expensive.
- reactordev 9mo agoUgh, which is why it became a builtin… Ya’ll are tracing the same logic of the 90s here.
- Sharlin 9mo agoWhy do you think the prof even used bash? I highly doubt his ancient SunOS machine had a GNU toolchain. `test` and `[` are both POSIX, but if there was no `/bin/[` I doubt the shell in question (original Bourne? Some proprietary Sun shell? Who knows) had it built in either.
- reactordev 9mo agoBourne /bin/sh I’m certain of it. If it was Sun OS, it was sh. Was just stating that he was sitting on old while trying to teach new and handing out -1’s for leveraging the new. Terrible…