Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: [ -d (#i)Temp ]
- X-seq: zsh-users 30526
- From: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- To: Zsh Users <zsh-users@xxxxxxx>
- Subject: Re: [ -d (#i)Temp ]
- Date: Fri, 10 Apr 2026 11:57:10 -0700
- Arc-authentication-results: i=1; mx.google.com; arc=none
- Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=content-transfer-encoding:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=05vNtILMRwARUc4B4MI5rKULA7sHbKh2bFWlIFUhI8g=; fh=hSLUtyVkxbQ84ew/DOQBCr+JU3iz+amDTVKA6VBWyHw=; b=kKcHhUENRCWZpapBGjgsyqc/EoW+Mkb+xED1bS8NYWf2EgPFRyluSTklYAtEc0mQq+ ZVicLFCXaKkaMcKzkg1fM4xIkxfMAfuRkD+DKd/40zPe5xo7QoGpeyiKvBze9ZBOL3Xo EiUd5dBI1tHSzzWqf//Q02dHP+Dl0JiPnlS/Q61JB2+lLNc66u4fed4ctExxt1XS+6gs AwQAUziJa73QNQGRaLeaxhX5V2kh9PRY3jcdHBBQEy8FbUOwbJljwmCGL1sXRx0jgEv2 OA2m0n7j8/OcaPgK+JRzkpcgAmfMyKq0DgIgPV6/jbMngyWy94zhpG4h2nRqbqDvm3SZ M2LQ==; darn=zsh.org
- Arc-seal: i=1; a=rsa-sha256; t=1775847443; cv=none; d=google.com; s=arc-20240605; b=dvdeklJiRhylitxgk1taEsw/2sS+eP0yVwU31OuIgGygfBxwJmqzQGKZvkSsInT24F fAIAS0AZjxjWqLCcPi8KO9HzGIQOECJAi+ITW0pIuueyXatArD1QLc5aoDHxjDtRXjaU fDzcyKCFoef2/d7BFHL/ThikD7K+GcjHoseCXWQoHTNAkp71l1+82ZjldU0ZCboGzKTv WLrk04nF9e77lOFTprafgbfgvQ7MYMNyROOqEz4xOIKiHXvU6axZC57BrFbgd8M7G0NL 9oD2iX1ptyWOj5m9zjBW44YaxbA2pPhs3HfOSzfFupf7xeJSRvgRYpvZ8lJ3nBoPgl6X WdAw==
- Archived-at: <https://zsh.org/users/30526>
- In-reply-to: <CAH+w=7aX4coQBSVLj7eid6snQem72xDCXZEk5aNmKDoNeTXodA@mail.gmail.com>
- List-id: <zsh-users.zsh.org>
- References: <dcc675da-fa5b-422c-bd63-748886ff1858@eastlink.ca> <1b9ee4e6-26a0-3393-be84-1031794fad1b@sonic.net> <CAH+w=7aX4coQBSVLj7eid6snQem72xDCXZEk5aNmKDoNeTXodA@mail.gmail.com>
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