Chet Ramey <chet.ra...@case.edu> wrote:

> On 9/10/16 7:27 AM, Joerg Schilling wrote:
>
> >> Concerning this point, these even number of double-quotes and even
> >> number of single-quotes are fulfilled with the example below:
> >>
> >>   echo "${foo-'a"b'"}"
> >>
> >> But is this valid?
> >>
> >> The following shells output 'ab' (with the single quotes):
> >> dash, bash --posix, mksh, posh, zsh.
> > 
> > I cannot repeat this with bash --posix..
>

OK, I was tesing with a version from 2009.

But please explain (character by character) why you create an output that is in 
conflict with the reference implementation (a patched ksh88).

!~A

Reply via email to