help / color / Atom feed
* */ globs and non-searchable directories
@ 2019-06-28  9:36 Stephane Chazelas
  0 siblings, 0 replies; only message in thread
From: Stephane Chazelas @ 2019-06-28  9:36 UTC (permalink / raw)
  To: Zsh hackers list

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 */

All the other shells I tried output:

$ echo */
readable/ searchable/

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

$ echo */.

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

$ bash5 -c 'echo */.'
$ bash5 -c 'echo */"."'


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, back to index

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-06-28  9:36 */ globs and non-searchable directories Stephane Chazelas


Archives are clonable: git clone --mirror http://inbox.vuxu.org/zsh-workers

Example config snippet for mirrors

Newsgroup available over NNTP:

AGPL code for this site: git clone https://public-inbox.org/public-inbox.git