Joerg Schilling <[email protected]> wrote, on 04 Oct 2017:
>
> Jilles Tjoelker <[email protected]> wrote:
> 
> > However, things like "${a-"*"}" are unspecified (in practice, the
> > asterisk may either be literal or generate pathnames, depending on the
> > shell). With
> >
> > cat <<EOF
> > ${a-"*"}
> > EOF
> 
> echo "${a-"*"}"
> 
> is equivalent to "echo *" for the Bourne Shell, ksh88, ksh93 and bosh.
> 
> ${a-"*"} is different, as this quotes "*". Even with this, 
> Bourne Shell, ksh88 and bosh behave identical, only ksh93 differs.
> 
> What I have in mind for "${a-"*"}" is [...]

This topic was discussed at great length when we resolved bug 221
back in 2010.  I don't think there is anything to be gained from
starting a new discussion of "${a-"*"}".

-- 
Geoff Clare <[email protected]>
The Open Group, Apex Plaza, Forbury Road, Reading, RG1 1AX, England

Reply via email to