Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
RE: Fix testsuite errors due to shell quoted parameter expansion issue.
- X-seq: zsh-workers 28129
- From: John Lumby <johnlumby@xxxxxxxxxxx>
- To: Eric Blake <eblake@xxxxxxxxxx>
- Subject: RE: Fix testsuite errors due to shell quoted parameter expansion issue.
- Date: Wed, 4 Aug 2010 13:06:48 -0400
- Cc: <zsh-workers@xxxxxxx>, autoconf maillist <autoconf@xxxxxxx>
- Importance: Normal
- In-reply-to: <4C5986DC.1080809@xxxxxxxxxx>
- 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: <20100803203204.GG13690@xxxxxx>, <4C588248.9050807@xxxxxxxxxx>,,<AANLkTi=0vz2jZcNfF+iYAKD2DPSjFCWJVNE-kch24ZhB@xxxxxxxxxxxxxx>,<COL116-W17EA3EC8646A44EE853BCBA3AF0@xxxxxxx>,<4C5986DC.1080809@xxxxxxxxxx>
Eric Blake wrote> On 08/04/2010 09:18 AM, John Lumby wrote:
>
> >
> > Re the statement
> >
> > since "$e" is quoted, it must not be elided
> >
> > I don't think that is correct. In fact "$e" *must* be elided -
> > because you juxtaposed it with the next token. eliding and quoting are orthogonal.
>
> Your statement is confusing to me. Here, in more detail, is exactly
> what I meant (and what I though I implied in the first case):
>
> ...
>
> Because "$e" is quoted, the resulting empty string must not be elided
> during word splitting.
>
I see - thanks. I was not aware of that effect of quoting.
But I see you are correct.
>
> ...
>
> Why do you find that interesting? There is NO word splitting in
> assignment contexts, so the effect of
Again I stand corrected, thanks. I thought an unquoted blank would terminate an assignment value.
Maybe I was confusing tokenization before substitution with word splitting after substitution.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author