Re: quoting in shell parameter expressions

2017-06-21 Thread Joerg Schilling
Joerg Schilling wrote: > Jilles Tjoelker wrote: > > > special treatment of $ { } until expansion time. Now that ${param#word} > > exists which has its own quoting state for the inner word, that is no > > longer possible. This was also taken advantage of to allow things like > > your example "${x

Re: quoting in shell parameter expressions

2017-06-21 Thread Joerg Schilling
Jilles Tjoelker wrote: > special treatment of $ { } until expansion time. Now that ${param#word} > exists which has its own quoting state for the inner word, that is no > longer possible. This was also taken advantage of to allow things like > your example "${xxx-"a b c"}"; the original Bourne sh