zsh-workers
 help / color / mirror / code / Atom feed
From: Stephane Chazelas <stephane.chazelas@gmail.com>
To: Zsh hackers list <zsh-workers@zsh.org>
Subject: */ globs and non-searchable directories
Date: Fri, 28 Jun 2019 10:36:55 +0100	[thread overview]
Message-ID: <20190628093655.gksz75mxylcc5nuc@chaz.gmail.com> (raw)

Not really a bug as such but a difference from other shells:

$ mkdir -m a=x searchable
$ mkdir -m a=r readable

$ echo *(/)
readable searchable
$ echo */
searchable/

All the other shells I tried output:

$ echo */
readable/ searchable/

In any case, all the shells I tried agree with zsh on:

$ echo */.
searchable/.

(though note the bug in current versions of bash5 as discussed
on the POSIX ML:

$ bash5 -c 'echo */.'
searchable/.
$ bash5 -c 'echo */"."'
readable/.
)

-- 
Stephane

                 reply	other threads:[~2019-06-28  9:37 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20190628093655.gksz75mxylcc5nuc@chaz.gmail.com \
    --to=stephane.chazelas@gmail.com \
    --cc=zsh-workers@zsh.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).