Re: [ -d (#i)Temp ]

Bart Schaefer <[email protected]> Fri, 10 Apr 2026 11:57:10 -0700
Newsgroups gmane.comp.shells.zsh.devel,gmane.comp.shells.zsh.user
Message-ID <CAH+w=7ZAtLMLZ0XhP82Fhem8_rfaBXDEpKMOf5v_hphqyy3orA@mail.gmail.com>
On Fri, Apr 10, 2026 at 11:46 AM Bart Schaefer
<[email protected]> wrote:
>
> Finally "[" and "test" do globbing on their arguments, "[[" does not,
> which is why the $(...) is needed.

Sorry, I need to correct that.  Replace "globbing" with "word
splitting".  The glob happens in either case but the result passed to
"-d" will be different.