3 ms·
It 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`).
by jonhohle 10mo ago
It 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 10mo 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 10mo ago[deleted]
- Someone 10mo 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 10mo agoUgh, which is why it became a builtin… Ya’ll are tracing the same logic of the 90s here.