zsh-workers
 help / color / mirror / code / Atom feed
From: Peter Stephenson <p.w.stephenson@ntlworld.com>
To: "Zsh Hackers' List" <zsh-workers@zsh.org>
Subject: Re: Recursive globbing shorthand (a la **.c)
Date: Sun, 1 Nov 2015 18:10:53 +0000	[thread overview]
Message-ID: <20151101181053.015ce7d1@ntlworld.com> (raw)
In-Reply-To: <151031131610.ZM21483@torch.brasslantern.com>

On Sat, 31 Oct 2015 13:16:10 -0700
Bart Schaefer <schaefer@brasslantern.com> wrote:
> So we need to add globstar as an alias for globstarshort in ksh and bash
> emulations?  Or since globstarshort is new should we just chop off the
> "short" and extend it to the other emulations?

It's not quite the same thing, since globstar controls both forms
including the form limited to directories.  However, I see the basic zsh
form is left on when SH_GLOB is active, so it does at least some of the
effect.

I think it would need to have the emulation bit turned *off* ---
i.e. the difference is no longer what you're emulating, the difference
is whether you've set it explicitly in whatever shell you're emulating.
But that's not ideal, either, if you want "emulate -L zsh" to give you a
sane environment including no patter mathcing surprises.

So the conclusion is, um.

pws


      reply	other threads:[~2015-11-01 18:20 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20151028065702.GA8236@linux.vnet.ibm.com>
     [not found] ` <20151029105343.67b579f3@pwslap01u.europe.root.pri>
2015-10-30  9:30   ` Peter Stephenson
2015-10-30 15:50     ` Bart Schaefer
2015-10-31  9:24       ` Stephane Chazelas
2015-10-31 20:16         ` Bart Schaefer
2015-11-01 18:10           ` Peter Stephenson [this message]

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=20151101181053.015ce7d1@ntlworld.com \
    --to=p.w.stephenson@ntlworld.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).