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



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