Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: [ -d (#i)Temp ]





On 2026-04-10 18:39, Alexis wrote:

Where `[` is a command, it's an alternate form of the `test` command, to the extent that on some systems they're actually the same binary. GNU Coreutils provides both `/usr/bin/[` and `/usr/bin/test`.

Yeah, it strikes me a very strange that '[' is a binary, guess you'd have to have been there back when the shells were being written. Anyway I'll take syntax any day, if possible.





Messages sorted by: Reverse Date, Date, Thread, Author