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

Re: [ -d (#i)Temp ]



On Fri, Apr 10, 2026 at 11:46 AM Bart Schaefer
<schaefer@xxxxxxxxxxxxxxxx> 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.




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