Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: [PATCH] explicitly mention ${name:/pat/repl}
- X-seq: zsh-workers 39881
- From: Daniel Shahaf <d.s@xxxxxxxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxx
- Subject: Re: [PATCH] explicitly mention ${name:/pat/repl}
- Date: Wed, 9 Nov 2016 05:14:19 +0000
- Dkim-signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=	daniel.shahaf.name; h=content-transfer-encoding:content-type	:date:from:in-reply-to:message-id:mime-version:references	:subject:to:x-me-sender:x-me-sender:x-sasl-enc:x-sasl-enc; s=	mesmtp; bh=d+AcyCZSCmOceHrK7pP3ivBF32Q=; b=gCCeeLU0VOOHML3h0liFK	k7CMwfOQ1CAqk6B8SZG20/rQWnP93roCLTBB2PykYr55+AMVDACKJyZsEIZcPHhN	TgiA8LF6FUclsk+5pEBvjdb2Dk7SmuU41s9LHUfS6WoXVhFn73o1GvtzkMGP4arh	BF4G5JrLaam0S/S8srtc3w=
- Dkim-signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=	messagingengine.com; h=content-transfer-encoding:content-type	:date:from:in-reply-to:message-id:mime-version:references	:subject:to:x-me-sender:x-me-sender:x-sasl-enc:x-sasl-enc; s=	smtpout; bh=d+AcyCZSCmOceHrK7pP3ivBF32Q=; b=CuWa8Zi8U2JBJfCizwD+	fJMPbqjEIQPbwiOPieRAppPe+CmSxpRU+gdizVIEzkielHv09kV9A9zpMLV4fVCy	u1taYBjapcf/Np+OUmih1qb1lz7jCV2YeIVpYlDSxgdX+/q6uIzrN3lrReyogyqy	7VfOOb3/SvGN+adhPLhCc2g=
- In-reply-to: <161108101043.ZM10631@torch.brasslantern.com>
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
- References: <161108101043.ZM10631@torch.brasslantern.com>
Bart Schaefer wrote on Tue, Nov 08, 2016 at 10:10:43 -0800:
> -The first `tt(/)' may be preceded by a `tt(:)', in which case the match
> -will only succeed if it matches the entire word.  Note also the
> +If tt(${)var(name)tt(}) expands to an array value, the replacements act
> +on each element individually.  Quoting may affect this.  Note also the
"Quoting may affect this"?  This leaves me wondering what the effect is
and under what circumstances it happens.
I assume this has to do with the «"${(@)foo}"» syntax?
>  effect of the tt(I) and tt(S) parameter expansion flags below; however,
>  the flags tt(M), tt(R), tt(B), tt(E) and tt(N) are not useful.
>  
> 
Messages sorted by:
Reverse Date,
Date,
Thread,
Author