Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Regular expression expanding and matching
- X-seq: zsh-users 17437
- From: Vin Shelton <acs@xxxxxxxxxxxxxxxxxxxx>
- To: Peter Stephenson <p.w.stephenson@xxxxxxxxxxxx>
- Subject: Re: Regular expression expanding and matching
- Date: Sun, 25 Nov 2012 14:18:40 -0500
- Cc: "zsh-users@xxxxxxx" <zsh-users@xxxxxxx>
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; bh=d/NtGLWCo/itSAJTlizAanUK97/nKZayn8JG2XGyMLU=; b=v6WwzG1D1h17gLTv8MWZt0A91uJ3aETyw+l7afgxAVC7quD2TMMzMgBhY2wJNzkMvo cKRcQ0BRvWJYgBPnKXQpUAcICRmCkUIe54U5/ejp6QoW+36uDd6YivzLaon9cBL+iqU+ iDrlwQrpE7g3QIas9pALZarDWOXSY5VEH2XAMg2v1wIDzQN3vaP0cx7+vP+bUo1bK5SR +CckZOK4UKcZCYmO/A/YpVX+yhqTf86x2IlM03iSDVCRI3SyOo5QqTaBiAbgr0Po4MdJ xZ+58u2VGYUe/aB40Hy126sknKZOUoaQK7/lQIEJ3ziARITCz3KSQW0kobp8wLRkAoaM QKYg==
- In-reply-to: <20121125185741.3e99b7f0@pws-pc.ntlworld.com>
- List-help: <mailto:zsh-users-help@zsh.org>
- List-id: Zsh Users List <zsh-users.zsh.org>
- List-post: <mailto:zsh-users@zsh.org>
- Mailing-list: contact zsh-users-help@xxxxxxx; run by ezmlm
- References: <50B23D2D.9060603@internecto.net> <20121125185741.3e99b7f0@pws-pc.ntlworld.com>
- Sender: ethersoft@xxxxxxxxx
Peter -
On Sun, Nov 25, 2012 at 1:57 PM, Peter Stephenson
<p.w.stephenson@xxxxxxxxxxxx> wrote:
> To put it more broadly, arguments in [[ ... ]] get expanded in all
> the ways that make sense for generating a single word. So file name
> generation (globbing) doesn't happen, and array substitution
> produces a single word (as if double quotes surrounded the array),
> but otherwise it works like a normal command line argument. So the
> normal quoting rule for backslashes apply.
That is very well put - thanks for the neat summary.
- Vin
Messages sorted by:
Reverse Date,
Date,
Thread,
Author