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 13460
- From: "Bart Schaefer" <schaefer@xxxxxxxxxxxxxxxxxxxxxxx>
- To: "Andrej Borsenkow" <Andrej.Borsenkow@xxxxxxxxxxxxxx>, <zsh-workers@xxxxxxxxxx>
- Subject: Re: More incompatibility :-) RE: PATCH: 3.1.9-dev-8: Re: Word splitting in zsh
- Date: Tue, 13 Feb 2001 09:26:48 +0000
- In-reply-to: <000801c09591$c7dd2790$21c9ca95@xxxxxxxxxxxxxx>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
- References: <000801c09591$c7dd2790$21c9ca95@xxxxxxxxxxxxxx>
On Feb 13, 10:51am, Andrej Borsenkow wrote:
}
} > + static int mult_spbreak, mult_shwsplit;
}
} They are static. Is there any chance, that two unrelated substitutions
} may run at the same time? E.g. inside nested command substitution?
} This forms its own context and both above must be reset.
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.
--
Bart Schaefer Brass Lantern Enterprises
http://www.well.com/user/barts http://www.brasslantern.com
Zsh: http://www.zsh.org | PHPerl Project: http://phperl.sourceforge.net
Messages sorted by:
Reverse Date,
Date,
Thread,
Author