Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
RE: More incompatibility :-) RE: PATCH: 3.1.9-dev-8: Re: Word splitting in zsh
- X-seq: zsh-workers 13461
- From: "Andrej Borsenkow" <Andrej.Borsenkow@xxxxxxxxxxxxxx>
- To: <zsh-workers@xxxxxxxxxx>
- Subject: RE: More incompatibility :-) RE: PATCH: 3.1.9-dev-8: Re: Word splitting in zsh
- Date: Tue, 13 Feb 2001 12:57:34 +0300
- Importance: Normal
- In-reply-to: <1010213092648.ZM26163@xxxxxxxxxxxxxxxxxxxxxxx>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
>
> They are saved, set, and restored in a small block around the call to
> multsub(), and otherwise referenced only on first entry to paramsubst().
> They have no effect other than to override the current setting of the
> shwordsplit option. That does mean that
>
> print ${=foo+"$(unsetopt shwordsplit;print -l $bar)"}
>
> actually *does* split the value of $bar within the command subst. Hmm.
>
Yep. That is exactly what I meant. I'm not sure what is current status, but I
always assumed that any flag applies to current value only and not propagates
to nested substitutions. At least this sounds logical.
-andrej
Messages sorted by:
Reverse Date,
Date,
Thread,
Author