enough-analyst-54434
04/13/2022, 1:07 AM$ which "["
/usr/bin/[
I always thought [ ... ] was the sh builtin and [[ ... ]] the bash more advanced version of that builtin and test the system utility (/usr/bin) equivalent of the sh [ ... ] builtin. But: https://pubs.opengroup.org/onlinepubs/9699919799/utilities/test.htmlcurved-television-6568
04/13/2022, 4:41 AM[ wasn't a builtin, right? Everything else was still on point from what I can tell.enough-analyst-54434
04/13/2022, 5:24 AM[ was a binary on the PATH on my machine. It is not the same binary as test and it behaves differently. You must pass it a last argument of ] or it errors saying that and it accepts --help which test does not (on my machine). Everything else was coming to grips with that.enough-analyst-54434
04/13/2022, 5:27 AM